linux/tools/perf/tests
Ian Rogers a93a620c38 perf test expr: Fix system_tsc_freq for only x86
The refactoring of tool PMU events to have a PMU then adding the expr
literals to the tool PMU made it so that the literal system_tsc_freq
was only supported on x86. Update the test expectations to match -
namely the parsing is x86 specific and only yields a non-zero value on
Intel.

Fixes: 609aa2667f ("perf tool_pmu: Switch to standard pmu functions and json descriptions")
Reported-by: Athira Rajeev <atrajeev@linux.vnet.ibm.com>
Closes: https://lore.kernel.org/linux-perf-users/20241022140156.98854-1-atrajeev@linux.vnet.ibm.com/
Co-developed-by: Athira Rajeev <atrajeev@linux.vnet.ibm.com>
Tested-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Ian Rogers <irogers@google.com>
Cc: James Clark <james.clark@linaro.org>
Cc: akanksha@linux.ibm.com
Cc: hbathini@linux.ibm.com
Cc: kjain@linux.ibm.com
Cc: maddy@linux.ibm.com
Cc: disgoel@linux.vnet.ibm.com
Cc: linuxppc-dev@lists.ozlabs.org
Link: https://lore.kernel.org/r/20241205022305.158202-1-irogers@google.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
2024-12-11 09:19:44 -08:00
..
config-fragments perf tools: Enable configs required for test_uprobe_from_different_cu.sh 2024-04-17 12:21:39 -03:00
shell perf/test: fix perf ftrace test on s390 2024-11-22 13:36:44 -08:00
workloads perf test: Add landlock workload 2024-07-31 16:12:46 -03:00
api-io.c
backward-ring-buffer.c
bitmap.c
bp_account.c perf parse-events: Add default_breakpoint_len helper 2024-09-04 09:49:09 -03:00
bp_signal.c perf parse-events: Add default_breakpoint_len helper 2024-09-04 09:49:09 -03:00
bp_signal_overflow.c perf parse-events: Add default_breakpoint_len helper 2024-09-04 09:49:09 -03:00
Build perf test: Add hwmon filename parser test 2024-11-09 08:27:44 -08:00
builtin-test.c perf test: Don't signal all processes on system when interrupting tests 2024-12-02 12:36:35 -08:00
code-reading.c perf dso: Add reference count checking and accessor functions 2024-05-06 15:28:49 -03:00
cpumap.c perf tool: Constify tool pointers 2024-08-12 18:05:14 -03:00
demangle-java-test.c perf test: Use ARRAY_SIZE for array length 2024-09-30 12:59:42 -07:00
demangle-ocaml-test.c
dlfilter-test.c perf tool: Constify tool pointers 2024-08-12 18:05:14 -03:00
dso-data.c perf dso: Use container_of() to avoid a pointer in 'struct dso_data' 2024-05-06 16:08:31 -03:00
dwarf-unwind.c perf tool: Constify tool pointers 2024-08-12 18:05:14 -03:00
event-times.c perf test: Fix memory leaks on event-times error paths 2024-10-02 14:58:03 -07:00
event_groups.c
event_update.c perf test event_update: Ensure tools is initialized 2024-08-12 18:13:20 -03:00
evsel-roundtrip-name.c perf evsel: Use evsel__name_is() helper 2024-04-03 11:48:56 -03:00
evsel-tp-sched.c perf build: Include libtraceevent headers directly indicated by pkg-config 2024-11-08 22:42:57 -08:00
expand-cgroup.c
expr.c perf test expr: Fix system_tsc_freq for only x86 2024-12-11 09:19:44 -08:00
fdarray.c
genelf.c
hists_common.c perf dso: Add reference count checking and accessor functions 2024-05-06 15:28:49 -03:00
hists_common.h
hists_cumulate.c perf dso: Add reference count checking and accessor functions 2024-05-06 15:28:49 -03:00
hists_filter.c
hists_link.c
hists_output.c perf dso: Add reference count checking and accessor functions 2024-05-06 15:28:49 -03:00
hwmon_pmu.c perf test hwmon_pmu: Fix event file location 2024-12-09 15:00:26 -08:00
is_printable_array.c
keep-tracking.c
kmod-path.c
make perf build: Make libunwind opt-in rather than opt-out 2024-11-04 11:32:35 -08:00
maps.c perf dso: Add reference count checking and accessor functions 2024-05-06 15:28:49 -03:00
mem.c perf mem-info: Add reference count checking 2024-05-07 18:06:44 -03:00
mem2node.c
mmap-basic.c
mmap-thread-lookup.c
openat-syscall-all-cpus.c
openat-syscall-tp-fields.c perf test: Skip not fail syscall tp fields test when insufficient permissions 2024-10-02 14:58:03 -07:00
openat-syscall.c
parse-events.c perf tools: Do not set exclude_guest for precise_ip 2024-10-22 09:52:11 -07: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 pmus: Fake PMU clean up 2024-09-11 11:27:42 -03:00
pmu.c perf pmu: Allow hardcoded terms to be applied to attributes 2024-10-10 23:40:32 -07:00
python-use.c
sample-parsing.c
sdt.c
sigtrap.c
stat.c perf tool: Constify tool pointers 2024-08-12 18:05:14 -03:00
sw-clock.c
switch-tracking.c
symbols.c perf dso: Add reference count checking and accessor functions 2024-05-06 15:28:49 -03:00
task-exit.c perf test: Run parallel tests in two passes 2024-10-28 09:32:58 -07:00
tests-scripts.c perf test: Run parallel tests in two passes 2024-10-28 09:32:58 -07:00
tests-scripts.h
tests.h perf test: Add hwmon filename parser test 2024-11-09 08:27:44 -08:00
thread-map.c perf tool: Constify tool pointers 2024-08-12 18:05:14 -03:00
thread-maps-share.c
time-utils-test.c
tool_pmu.c perf test: Add missing __exit calls in tool/hwmon tests 2024-11-16 16:30:40 -03:00
topology.c
unit_number__scnprintf.c
util.c
vmlinux-kallsyms.c perf map: API clean up 2024-08-19 14:49:53 -03:00
wp.c perf test: Make watchpoint data 32-bits on i386 2024-09-03 11:26:53 -03:00