Skip to content
This repository has been archived by the owner on Oct 16, 2020. It is now read-only.

Does blinky provide a blacklist to filter the instruments? #19

Open
fengyang-nju opened this issue Aug 2, 2016 · 2 comments
Open

Does blinky provide a blacklist to filter the instruments? #19

fengyang-nju opened this issue Aug 2, 2016 · 2 comments
Projects

Comments

@fengyang-nju
Copy link
Contributor

fengyang-nju commented Aug 2, 2016

Does blinky provide a blacklist to filter out the instrument of some dependencies? Could you please tell how should I specify the white/black list for blinky?

@VijayKrishna
Copy link
Member

well, this has been a todo for a very long time. what would be a convenient way for you to specify the black list?

@fengyang-nju
Copy link
Contributor Author

I think the following features will be helpful for the me (maybe also other users):

  1. A parameter "targetlist" to specify the "package prefixes" or "class name regular expressions" that will ONLY be instrumented and ignore ALL of other classes.
  2. A parameter "blacklist" to specify the "package prefixes" or "class name regular expressions" that will NEVER be instrumented;
  3. A resource configuration file maybe helpful to providing the "default" blacklist, the "package prefixes" that are written in the default blacklist will NOT be instrumented.
  4. A parameter "whitelist" to exclude some "package prefixes" from the "default black list"
  5. A parameter "defaultIns" may be useful to specify the default behavior of blinky. If the value is true, then blinky will ONLY exclude the packages that specified in the blacklist and instrumented ALL other classes. If this value is false, then blinky will ONLY instrumented the packages that specified in the "targetlist" and ignore ALL other classes. I suggest set the default value of this parameter into FALSE for the efficiency consideration.

Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Core
New
Development

No branches or pull requests

2 participants