gak / pycallgraph

pycallgraph is a Python module that creates call graphs for Python programs.
GNU General Public License v2.0
1.82k stars 336 forks source link

Add directory based filtering #154

Open magixx opened 8 years ago

magixx commented 8 years ago

On larger projects It would be useful to be able to filer on whole directories. For my purpose I modified tracer.TraceProcessor#process to send the full f_code to globbing_filter.GlobbingFilter and then filter any directories I don't want via f_code.co_filename.