linux/tools/perf/tests/shell
Thomas Richter 5f2c8f4e10 perf/test: fix perf ftrace test on s390
On s390 the perf test case ftrace sometimes fails as follows:

  # ./perf test ftrace
  79: perf ftrace tests    : FAILED!
  #

The failure depends on the kernel .config file. Some configurations
always work fine, some do not.  The ftrace profile test mostly fails,
because the ring buffer was not large enough, and some lines
(especially the interesting ones with nanosleep in it) where dropped.

To achieve success for all tested kernel configurations, enlarge
the buffer to store the traces completely without wrapping.
The default buffer size is too small for all kernel configurations.
Set the buffer size of for the ftrace profile test to 16 MB.

Output after:
  # ./perf test ftrace
  79: perf ftrace tests     : Ok
  #

Signed-off-by: Thomas Richter <tmricht@linux.ibm.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: agordeev@linux.ibm.com
Cc: gor@linux.ibm.com
Cc: hca@linux.ibm.com
Cc: sumanthk@linux.ibm.com
Link: https://lore.kernel.org/r/20241119064856.641446-1-tmricht@linux.ibm.com
Suggested-by: Sven Schnelle <svens@linux.ibm.com>
Suggested-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
2024-11-22 13:36:44 -08:00
..
attr perf tools: Don't set attr.exclude_guest by default 2024-10-22 09:52:11 -07:00
base_probe perf test: Handle perftool-testsuite_probe failure due to broken DWARF 2024-10-23 17:23:09 -03:00
base_report perf testsuite report: Add test for perf-report basic functionality 2024-08-28 18:07:21 -03:00
common perf testsuite report: Add test for perf-report basic functionality 2024-08-28 18:07:21 -03:00
coresight perf test: Tag parallel failing shell tests with "(exclusive)" 2024-10-28 09:32:58 -07:00
lib perf test: Move attr files into shell directory where they are used 2024-10-17 13:17:36 -07:00
annotate.sh perf/test: Speed up test case perf annotate basic tests 2024-09-26 23:42:46 -07:00
attr.sh perf test: Move attr files into shell directory where they are used 2024-10-17 13:17:36 -07:00
buildid.sh perf tests shell: Fixed shellcheck warnings 2023-06-13 23:40:34 -03:00
daemon.sh perf test shell daemon: Make signal test less racy 2024-01-26 10:51:49 -03:00
diff.sh perf test shell diff: Skip test if test_loop symbol is missing in the perf binary 2023-12-06 13:01:36 -03:00
ftrace.sh perf/test: fix perf ftrace test on s390 2024-11-22 13:36:44 -08:00
list.sh perf test: Avoid list test blocking on writing to stdout 2024-10-28 09:32:57 -07:00
lock_contention.sh perf test: Speed up some tests using perf list 2024-10-17 09:55:58 -07:00
perftool-testsuite_probe.sh perf testsuite: Add test case for perf probe 2024-02-16 11:49:22 -08:00
perftool-testsuite_report.sh perf test: Tag parallel failing shell tests with "(exclusive)" 2024-10-28 09:32:58 -07:00
pipe_test.sh perf test: Fix perf test case 84 on s390 2024-10-19 09:39:54 -07:00
probe_vfs_getname.sh perf test: Tag parallel failing shell tests with "(exclusive)" 2024-10-28 09:32:58 -07:00
record+probe_libc_inet_pton.sh perf/test: perf test 86 fails on s390 2024-10-02 14:58:04 -07:00
record+script_probe_vfs_getname.sh perf test: Tag parallel failing shell tests with "(exclusive)" 2024-10-28 09:32:58 -07:00
record+zstd_comp_decomp.sh perf tests record+zstd_comp_decomp: Fix the shellcheck warnings about word splitting/quoting 2023-08-03 17:01:27 -03:00
record.sh perf tests: Make leader sampling test work without branch event 2024-11-16 16:30:39 -03:00
record_bpf_filter.sh perf test: Add 'perf record cgroup' filtering test 2024-08-28 18:22:27 -03:00
record_lbr.sh perf test: Tag parallel failing shell tests with "(exclusive)" 2024-10-28 09:32:58 -07:00
record_offcpu.sh perf test: Tag parallel failing shell tests with "(exclusive)" 2024-10-28 09:32:58 -07:00
record_sideband.sh perf tests: Fix shellcheck warning in record_sideband.sh 2023-10-17 12:40:51 -07:00
script.sh perf test: Avoid python leak sanitizer test failures 2024-07-31 16:12:59 -03:00
stat+csv_output.sh perf stat: Support per-cluster aggregation 2024-02-09 14:59:53 -08:00
stat+csv_summary.sh tests/shell: Fix shellcheck issues in tests/shell/stat+shadow_stat.sh tetscase 2023-09-26 21:47:12 -07:00
stat+json_output.sh perf test: Stat output per thread of just the parent process 2024-03-21 13:54:39 -03:00
stat+shadow_stat.sh tests/shell: Fix shellcheck issues in tests/shell/stat+shadow_stat.sh tetscase 2023-09-26 21:47:12 -07:00
stat+std_output.sh perf stat: Support per-cluster aggregation 2024-02-09 14:59:53 -08:00
stat.sh perf tools: Add fallback for exclude_guest 2024-10-22 09:51:22 -07:00
stat_all_metricgroups.sh perf test: Be more tolerant of metricgroup failures 2024-09-24 10:46:24 -07:00
stat_all_metrics.sh perf test: Update all metrics test like metricgroups test 2024-10-19 09:34:56 -07:00
stat_all_pfm.sh perf test: Add test of libpfm4 events 2023-06-12 15:57:53 -03:00
stat_all_pmu.sh perf test: Tag parallel failing shell tests with "(exclusive)" 2024-10-28 09:32:58 -07:00
stat_bpf_counters.sh perf test: Use sqrtloop workload to test bperf event 2024-11-01 23:31:08 -07:00
stat_bpf_counters_cgrp.sh perf test: Remove cpu-list BPF cgroup counter test 2024-11-04 22:10:48 -08:00
stat_metrics_values.sh perf test: Simplify metric value validation test final report 2024-02-01 22:16:37 -08:00
test_arm_callgraph_fp.sh perf test: Make test_arm_callgraph_fp.sh more robust 2024-06-24 14:42:59 -07:00
test_arm_coresight.sh perf test: Tag parallel failing shell tests with "(exclusive)" 2024-10-28 09:32:58 -07:00
test_arm_coresight_disasm.sh perf test: Tag parallel failing shell tests with "(exclusive)" 2024-10-28 09:32:58 -07:00
test_arm_spe.sh perf test: Tag parallel failing shell tests with "(exclusive)" 2024-10-28 09:32:58 -07:00
test_arm_spe_fork.sh perf test: Speed up some tests using perf list 2024-10-17 09:55:58 -07:00
test_brstack.sh perf tests: Skip branch stack sampling test if brstack_bench symbol is missing 2023-11-27 15:40:22 -03:00
test_data_symbol.sh perf test: Tag parallel failing shell tests with "(exclusive)" 2024-10-28 09:32:58 -07:00
test_intel_pt.sh perf test: Tag parallel failing shell tests with "(exclusive)" 2024-10-28 09:32:58 -07:00
test_java_symbol.sh perf test java symbol: Remove needless debuginfod queries 2023-05-10 12:54:53 -03:00
test_perf_data_converter_json.sh perf test: Use common python setup library 2023-12-05 15:48:52 -03:00
test_stat_intel_tpebs.sh perf test: Tag parallel failing shell tests with "(exclusive)" 2024-10-28 09:32:58 -07:00
test_task_analyzer.sh perf tools test_task_analyzer.sh: Update to use 'perf check feature' 2024-09-04 16:19:33 -03:00
test_uprobe_from_different_cu.sh perf test: Skip uprobe test if probe command isn't present 2024-09-03 11:23:01 -03:00
trace+probe_vfs_getname.sh perf test: Tag parallel failing shell tests with "(exclusive)" 2024-10-28 09:32:58 -07:00
trace_btf_enum.sh perf test trace_btf_enum: Fix shellcheck warning 2024-08-28 18:18:33 -03:00
trace_exit_race.sh perf test shell trace_exit_race: Use --no-comm to avoid cases where COMM isn't resolved 2024-11-16 16:30:32 -03:00