perf-tools
perf-tools copied to clipboard
functrace and funcgraph only supports single function
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
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'