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 <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: https://lkml.kernel.org/n/tip-8bjsul8x7osw7nxjodnyfn14@git.kernel.orgSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 3f643937
...@@ -2553,7 +2553,7 @@ static int trace__add_syscall_newtp(struct trace *trace) ...@@ -2553,7 +2553,7 @@ static int trace__add_syscall_newtp(struct trace *trace)
goto out; 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; int err = -1;
struct perf_evsel *sys_exit; struct perf_evsel *sys_exit;
...@@ -2578,6 +2578,11 @@ static int trace__set_ev_qualifier_filter(struct trace *trace) ...@@ -2578,6 +2578,11 @@ static int trace__set_ev_qualifier_filter(struct trace *trace)
goto out; 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, static int bpf_map__set_filter_pids(struct bpf_map *map __maybe_unused,
size_t npids __maybe_unused, pid_t *pids __maybe_unused) size_t npids __maybe_unused, pid_t *pids __maybe_unused)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment