aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/annotate.h
diff options
context:
space:
mode:
authorYang Jihong <[email protected]>2024-04-01 06:27:24 +0000
committerArnaldo Carvalho de Melo <[email protected]>2024-04-03 14:48:56 +0000
commit09d2056efe0c02b7a589915c004c6e925735d081 (patch)
tree502d6ae05ac14c9da2391f6c0b609b713e34e08d /tools/perf/util/annotate.h
parentperf sched timehist: Fix -g/--call-graph option failure (diff)
downloadkernel-09d2056efe0c02b7a589915c004c6e925735d081.tar.gz
kernel-09d2056efe0c02b7a589915c004c6e925735d081.zip
perf evsel: Use evsel__name_is() helper
Code cleanup, replace strcmp(evsel__name(evsel, {NAME})) with evsel__name_is() helper. No functional change. Committer notes: Fix this build error: trace.syscalls.events.bpf_output = evlist__last(trace.evlist); - assert(evsel__name_is(trace.syscalls.events.bpf_output), "__augmented_syscalls__"); + assert(evsel__name_is(trace.syscalls.events.bpf_output, "__augmented_syscalls__")); Reviewed-by: Ian Rogers <[email protected]> Signed-off-by: Yang Jihong <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: James Clark <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Kan Liang <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/annotate.h')
0 files changed, 0 insertions, 0 deletions