Commit 2dc5338e authored by Protobuf Team Bot's avatar Protobuf Team Bot Committed by Copybara-Service
Browse files

Introduce proto filter for inject_field_listener_events.

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: 512905094
parent 462964ed
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment