By default all protos are included in proto instrumentation when inject_field_listener_events option is set. Adding proto instrumentation callbacks for every proto in the binary adds codesize and runtime performance penalties. This cl introduces 'protos_for_field_listener_events' option where a list of proto files can be provided (seperated by ':') for which field listener events will be injected. For example :- protos_for_field_listener_events=foo/bar/foo.proto:foo/bar.proto The field listener event will only be sent for 'foo/bar/foo.proto' and 'foo/bar.proto'. PiperOrigin-RevId: 512905094pull/12083/head
parent
462964ed32
commit
2dc5338ea2
2 changed files with 11 additions and 0 deletions
Loading…
Reference in new issue