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
base_probe perf test: Handle perftool-testsuite_probe failure due to broken DWARF 2024-10-23 17:23:09 -03:00
base_report
common
coresight perf test: Tag parallel failing shell tests with "(exclusive)" 2024-10-28 09:32:58 -07:00
lib
annotate.sh
attr.sh
buildid.sh
daemon.sh
diff.sh
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
perftool-testsuite_probe.sh
perftool-testsuite_report.sh perf test: Tag parallel failing shell tests with "(exclusive)" 2024-10-28 09:32:58 -07:00
pipe_test.sh
probe_vfs_getname.sh perf test: Tag parallel failing shell tests with "(exclusive)" 2024-10-28 09:32:58 -07:00
record_bpf_filter.sh
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
record.sh perf tests: Make leader sampling test work without branch event 2024-11-16 16:30:39 -03:00
record+probe_libc_inet_pton.sh
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
script.sh
stat_all_metricgroups.sh
stat_all_metrics.sh
stat_all_pfm.sh
stat_all_pmu.sh perf test: Tag parallel failing shell tests with "(exclusive)" 2024-10-28 09:32:58 -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_bpf_counters.sh perf test: Use sqrtloop workload to test bperf event 2024-11-01 23:31:08 -07:00
stat_metrics_values.sh
stat.sh
stat+csv_output.sh
stat+csv_summary.sh
stat+json_output.sh
stat+shadow_stat.sh
stat+std_output.sh
test_arm_callgraph_fp.sh
test_arm_coresight_disasm.sh perf test: Tag parallel failing shell tests with "(exclusive)" 2024-10-28 09:32:58 -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_spe_fork.sh
test_arm_spe.sh perf test: Tag parallel failing shell tests with "(exclusive)" 2024-10-28 09:32:58 -07:00
test_brstack.sh
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
test_perf_data_converter_json.sh
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
test_uprobe_from_different_cu.sh
trace_btf_enum.sh
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
trace+probe_vfs_getname.sh perf test: Tag parallel failing shell tests with "(exclusive)" 2024-10-28 09:32:58 -07:00