linux/tools/perf/tests/shell
Sandipan Das 8669862388 perf test: Add stat test for record and script
When using the global aggregation mode, running perf script after perf
stat record can result in a segmentation fault as seen with commit
8b76a3188b ("perf stat: Remove unused perf_counts.aggr field").

Add a basic test to the existing suite of stat-related tests for
checking if that workflow runs without erroring out.

Signed-off-by: Sandipan Das <sandipan.das@amd.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ananth Narayan <ananth.narayan@amd.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Nick Terrell <terrelln@fb.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ravi Bangoria <ravi.bangoria@amd.com>
Link: https://lore.kernel.org/r/6a5429879764e3dac984cbb11ee2d95cc1604161.1683280603.git.sandipan.das@amd.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2023-05-10 14:36:18 -03:00
..
coresight perf test coresight: Add unroll thread test shell script 2022-10-06 14:50:55 -03:00
lib perf test stat+json_output: Write JSON output to a file 2023-04-10 19:15:53 -03:00
buildid.sh perf test buildid: Fix shell string substitutions 2023-01-23 10:03:07 -03:00
daemon.sh
lock_contention.sh perf test: Add more test cases for perf lock contention 2023-02-02 17:18:31 -03:00
pipe_test.sh perf test: Replace pipe test workload with noploop 2022-11-20 11:32:23 -03:00
probe_vfs_getname.sh
record+probe_libc_inet_pton.sh perf test record+probe_libc_inet_pton: Fix call chain match on x86_64 2023-05-03 11:02:21 -03:00
record+script_probe_vfs_getname.sh perf tests shell: Fix check for libtracevent support 2023-02-01 21:44:26 -03:00
record+zstd_comp_decomp.sh
record.sh perf test: Fix record test on KVM guests 2022-11-23 10:35:45 -03:00
record_offcpu.sh Revert "perf build: Make BUILD_BPF_SKEL default, rename to NO_BPF_SKEL" 2023-05-06 18:07:37 -03:00
stat+csv_output.sh perf test stat+csv_output: Write CSV output to a file 2023-04-10 19:15:33 -03:00
stat+csv_summary.sh
stat+json_output.sh perf test stat+json_output: Write JSON output to a file 2023-04-10 19:15:53 -03:00
stat+shadow_stat.sh
stat.sh perf test: Add stat test for record and script 2023-05-10 14:36:18 -03:00
stat_all_metricgroups.sh
stat_all_metrics.sh perf tests stat_all_metrics: Change true workload to sleep workload for system wide check 2023-02-17 17:22:56 -03:00
stat_all_pmu.sh perf test: Fix "all PMU test" to skip parametrized events 2022-12-21 14:52:40 -03:00
stat_bpf_counters.sh
stat_bpf_counters_cgrp.sh perf test: Add a new test for perf stat cgroup BPF counter 2022-09-21 10:30:55 -03:00
test_arm_callgraph_fp.sh perf test: Replace arm callgraph fp test workload with leafloop 2022-11-23 10:25:31 -03:00
test_arm_coresight.sh perf cs-etm: Add separate decode paths for timeless and per-thread modes 2023-04-24 14:42:20 -03:00
test_arm_spe.sh perf tools: Use "grep -E" instead of "egrep" 2022-12-14 15:28:19 -03:00
test_arm_spe_fork.sh perf tools: Use "grep -E" instead of "egrep" 2022-12-14 15:28:19 -03:00
test_brstack.sh perf session: Show branch speculation info in raw dump 2023-02-02 17:18:31 -03:00
test_data_symbol.sh perf tools: Use "grep -E" instead of "egrep" 2022-12-14 15:28:19 -03:00
test_intel_pt.sh perf test test_intel_pt.sh: Test sample mode with event with PMU name 2023-05-10 14:19:20 -03:00
test_java_symbol.sh perf test java symbol: Remove needless debuginfod queries 2023-05-10 12:54:53 -03:00
test_task_analyzer.sh perf test: add new task-analyzer tests 2022-12-14 11:24:31 -03:00
trace+probe_vfs_getname.sh perf tools: Use "grep -E" instead of "egrep" 2022-12-14 15:28:19 -03:00