Currently fusil only supports adding the names of modules, classes, instances, methods and functions to hardcoded suppression lists, as a way of avoiding troublesome calls and repeated, uninteresting hits. It's also possible to pass module names to include as suppression in the command line:
|
input_options.add_option( |
|
"--blacklist", |
|
help='Module blacklist separated by commas (eg. "_lsprof,_json")', |
|
type="str", |
|
default="", |
|
) |
We should make it possible to ignore hits based on regex matching on the stdout contents. That way, we can filter out hits that mention source code lines and abort/segfault messages (that's what I manually do to deduplicate hits).
The regexes could be passed on the command line (accepting the same option multiple times) or read from a suppression file. The reason for suppressing a hit should be recorded in the logs.
This improvement is a prime candidate for supporting inclusions of regexes by plugins (#52).
Currently fusil only supports adding the names of modules, classes, instances, methods and functions to hardcoded suppression lists, as a way of avoiding troublesome calls and repeated, uninteresting hits. It's also possible to pass module names to include as suppression in the command line:
fusil/fusil/python/__init__.py
Lines 62 to 67 in 8e2c584
We should make it possible to ignore hits based on regex matching on the stdout contents. That way, we can filter out hits that mention source code lines and abort/segfault messages (that's what I manually do to deduplicate hits).
The regexes could be passed on the command line (accepting the same option multiple times) or read from a suppression file. The reason for suppressing a hit should be recorded in the logs.
This improvement is a prime candidate for supporting inclusions of regexes by plugins (#52).