linux/tools/perf/tests
John Garry b4a7276c5e perf test: Add parse-events test for aliases with hyphens
Add a test which allows us to test parsing an event alias with hyphens.

Since these events typically do not exist on most host systems, add the
alias to the fake pmu.

Function perf_pmu__test_parse_init() has terms added to match known test
aliases.

Signed-off-by: John Garry <john.garry@huawei.com>
Acked-by: Ian Rogers <irogers@google.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Kajol Jain <kjain@linux.ibm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Qi Liu <liuqi115@huawei.com>
Cc: Shaokun Zhang <zhangshaokun@hisilicon.com>
Cc: linuxarm@huawei.com
Link: https://lore.kernel.org/r/1642432215-234089-4-git-send-email-john.garry@huawei.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2022-01-22 17:21:41 -03:00
..
attr
shell perf test: Enable system wide for metricgroups test 2022-01-11 18:46:23 -03:00
.gitignore
Build
api-io.c
attr.c perf cpumap: Give CPUs their own type 2022-01-12 14:28:23 -03:00
attr.py
backward-ring-buffer.c
bitmap.c perf cpumap: Migrate to libperf cpumap api 2022-01-22 17:08:42 -03:00
bp_account.c
bp_signal.c
bp_signal_overflow.c
bpf-script-example.c
bpf-script-test-kbuild.c
bpf-script-test-prologue.c
bpf-script-test-relocation.c
bpf.c
builtin-test.c perf test: Use 3 digits for test numbering now we can have more tests 2021-12-21 17:52:27 -03:00
clang.c
code-reading.c
cpumap.c perf cpumap: Give CPUs their own type 2022-01-12 14:28:23 -03:00
demangle-java-test.c
demangle-ocaml-test.c
dlfilter-test.c
dso-data.c
dwarf-unwind.c
event-times.c
event_update.c perf cpumap: Migrate to libperf cpumap api 2022-01-22 17:08:42 -03:00
evsel-roundtrip-name.c
evsel-tp-sched.c
expand-cgroup.c
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
llvm.c
llvm.h
make
maps.c
mem.c
mem2node.c perf cpumap: Migrate to libperf cpumap api 2022-01-22 17:08:42 -03:00
mmap-basic.c perf cpumap: Migrate to libperf cpumap api 2022-01-22 17:08:42 -03:00
mmap-thread-lookup.c
openat-syscall-all-cpus.c perf cpumap: Give CPUs their own type 2022-01-12 14:28:23 -03:00
openat-syscall-tp-fields.c
openat-syscall.c
parse-events.c perf test: Add parse-events test for aliases with hyphens 2022-01-22 17:21:41 -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 test: Add pmu-events test for aliases with hyphens 2022-01-22 17:21:29 -03:00
pmu.c
python-use.c
sample-parsing.c
sdt.c
sigtrap.c perf test: Test 73 Sig_trap fails on s390 2021-12-16 16:21:15 -03:00
stat.c perf cpumap: Give CPUs their own type 2022-01-12 14:28:23 -03:00
sw-clock.c
switch-tracking.c
task-exit.c
tests.h
thread-map.c
thread-maps-share.c
time-utils-test.c
topology.c perf cpumap: Migrate to libperf cpumap api 2022-01-22 17:08:42 -03:00
unit_number__scnprintf.c
vmlinux-kallsyms.c
wp.c