perf-tools icon indicating copy to clipboard operation
perf-tools copied to clipboard

functrace and funcgraph only supports single function

Open alokprasad opened this issue 4 years ago • 1 comments

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

alokprasad avatar Oct 16 '20 10:10 alokprasad

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'

kodidu avatar Jun 15 '21 06:06 kodidu