perf trace: Rename set_ev_qualifier_filter to clarify its a tracepoint filter
tip-bot for Arnaldo Carvalho de Melo
merge botCommit-ID: 246fbe03edaab9dfa5bd1f0e223c7c960d987982 Gitweb: https://git.kernel.org/tip/246fbe03edaab9dfa5bd1f0e223c7c960d987982 Author: Arnaldo Carvalho de Melo <[email protected]> AuthorDate: Wed, 12 Dec 2018 11:06:53 -0300 Committer: Arnaldo Carvalho de Melo <[email protected]> CommitDate: Tue, 18 Dec 2018 12:23:57 -0300
perf trace: Rename set_ev_qualifier_filter to clarify its a tracepoint filter
Rename it to trace__set_ev_qualifier_tp_filter(), as this just sets up tracepoint filters on the raw_syscalls:sys_{enter,exit} tracepoints, and since we're going to do the same for the augmented_raw_syscalls codepath, when used, rename it to clarify.
Cc Adrian Hunter <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Namhyung Kim <[email protected]>
Cc Wang Nan <[email protected]>
Signed-off-by Arnaldo Carvalho de Melo <[email protected]>
--- tools/perf/builtin-trace.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
tools/perf/builtin-trace.c +6 -1
@@ -2553,7 +2553,7 @@ out_delete_sys_enter: goto out; } -static int trace__set_ev_qualifier_filter (struct trace *trace) +static int trace__set_ev_qualifier_tp_filter (struct trace *trace) {int err =-1 ;struct perf_evsel *sys_exit;
@@ -2578,6 +2578,11 @@ out_enomem: goto out; } +static int trace__set_ev_qualifier_filter (struct trace *trace) +{ +return trace__set_ev_qualifier_tp_filter (trace); +} +static int bpf_map__set_filter_pids (struct bpf_map *map__maybe_unused ,size_t npids__maybe_unused ,pid_t *pids__maybe_unused ) {