diff options
author | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2017-04-17 17:30:08 -0400 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2017-04-18 13:48:25 -0400 |
commit | 8e5e19c1b98394c2cdc186a4b0be422fe6e7217a (patch) | |
tree | 4b90d89dd7cba4e8d1d1ff136a73a67c2ec76da5 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 560642d9ab5c37451ee43989dd9a35037ab5ab8d (diff) |
selftests: ftrace: Add a way to reset triggers in the set_ftrace_filter file
Just writing into the set_ftrace_filter file does not reset triggers, even
though it can reset the function list. Triggers require writing the trigger
name with a "!" prepended. It's worse that it requires the number if the
trigger has a count associated to it.
Add a reset_ftrace_filter function to the ftrace self tests to allow for the
tests to have a generic way to clear them. It also resets any functions that
are listed in that file as well.
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions