diff options
author | Joel Fernandes <[email protected]> | 2016-06-17 22:44:54 -0700 |
---|---|---|
committer | Steven Rostedt <[email protected]> | 2016-06-27 13:29:24 -0400 |
commit | 7fa8b7171a638ad896acabd9a17183b75b70aeb4 (patch) | |
tree | 07b6570578e9f03a9397ef8a42753625fd000d9d /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | be54f69c26193de31053190761e521903b89d098 (diff) |
tracing/function_graph: Fix filters for function_graph threshold
Function graph tracer currently ignores filters if tracing_thresh is set.
For example, even if set_ftrace_pid is set, then its ignored if tracing_thresh
set, resulting in all processes being traced.
To fix this, we reuse the same entry function as when tracing_thresh is not
set and do everything as in the regular case except for writing the function entry
to the ring buffer.
Link: http://lkml.kernel.org/r/[email protected]
Cc: Frederic Weisbecker <[email protected]>
Cc: Ingo Molnar <[email protected]>
Signed-off-by: Joel Fernandes <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions