brendangregg / perf-tools

Performance analysis tools based on Linux perf_events (aka perf) and ftrace
GNU General Public License v2.0
9.9k stars 1.64k forks source link

functrace and funcgraph only supports single function #97

Open alokprasad opened 4 years ago

alokprasad commented 4 years ago

Currently, functrace and funcgraph only supports single function. There might be cases when we need to monitor multiple function in single tracing.

I had to manually edit and multiple function using.

function1 >current_tracer function2>> current_tracer

kodidu commented 3 years ago

Hello! I think you simply need to escape the filter string argument. Maybe also necessary if you use in the function string, so that bash will not expand the argument. `funcgraph -m 3 'function1_ devX_function2'`