linux/tools/perf/tests
Yang Jihong 09d2056efe 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 <irogers@google.com>
Signed-off-by: Yang Jihong <yangjihong@bytedance.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: James Clark <james.clark@arm.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20240401062724.1006010-3-yangjihong@bytedance.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2024-04-03 11:48:56 -03:00
..
attr
config-fragments
shell perf test: Stat output per thread of just the parent process 2024-03-21 13:54:39 -03:00
workloads
api-io.c
attr.c
attr.py
backward-ring-buffer.c
bitmap.c perf cpumap: Use perf_cpu_map__for_each_cpu when possible 2024-03-21 10:41:28 -03:00
bp_account.c
bp_signal.c
bp_signal_overflow.c
Build perf test: Rename builtin-test-list and add missed header guard 2024-02-22 09:12:40 -08:00
builtin-test.c perf tests: Run tests in parallel by default 2024-03-21 13:54:40 -03:00
code-reading.c
cpumap.c
demangle-java-test.c
demangle-ocaml-test.c
dlfilter-test.c
dso-data.c
dwarf-unwind.c
event-times.c
event_groups.c
event_update.c
evsel-roundtrip-name.c perf evsel: Use evsel__name_is() helper 2024-04-03 11:48:56 -03:00
evsel-tp-sched.c
expand-cgroup.c perf parse-events: Print all errors 2024-02-02 13:08:05 -08:00
expr.c
fdarray.c
genelf.c
hists_common.c
hists_common.h
hists_cumulate.c
hists_filter.c
hists_link.c
hists_output.c
is_printable_array.c
keep-tracking.c
kmod-path.c
make perf: build: introduce the libcapstone 2024-02-20 18:06:25 -08:00
maps.c perf maps: Switch from rbtree to lazily sorted array for addresses 2024-02-12 12:35:14 -08:00
mem.c
mem2node.c
mmap-basic.c
mmap-thread-lookup.c
openat-syscall-all-cpus.c
openat-syscall-tp-fields.c
openat-syscall.c
parse-events.c perf evsel: Use evsel__name_is() helper 2024-04-03 11:48:56 -03:00
parse-metric.c
parse-no-sample-id-all.c
pe-file-parsing.c
pe-file.c
pe-file.exe
pe-file.exe.debug
perf-hooks.c
perf-record.c
perf-targz-src-pkg
perf-time-to-tsc.c
pfm.c
pmu-events.c perf jevents: Drop or simplify small integer values 2024-02-02 13:09:30 -08:00
pmu.c
python-use.c
sample-parsing.c
sdt.c
sigtrap.c
stat.c
sw-clock.c
switch-tracking.c
symbols.c perf test: Fix spelling mistake "curent" -> "current" 2024-02-26 21:41:27 -08:00
task-exit.c
tests-scripts.c perf tests: Run time generate shell test suites 2024-02-22 09:13:06 -08:00
tests-scripts.h perf tests: Run time generate shell test suites 2024-02-22 09:13:06 -08:00
tests.h perf test: Use TEST_FAIL in the TEST_ASSERT macros instead of -1 2024-02-26 08:31:24 -08:00
thread-map.c
thread-maps-share.c perf maps: Hide maps internals 2024-02-12 12:35:41 -08:00
time-utils-test.c
topology.c perf cpumap: Use perf_cpu_map__for_each_cpu when possible 2024-03-21 10:41:28 -03:00
unit_number__scnprintf.c
util.c
vmlinux-kallsyms.c perf maps: Get map before returning in maps__find_by_name 2024-02-12 12:35:33 -08:00
wp.c