diff options
author | Thomas Richter <[email protected]> | 2024-11-19 07:48:56 +0100 |
---|---|---|
committer | Namhyung Kim <[email protected]> | 2024-11-22 13:36:44 -0800 |
commit | 5f2c8f4e1070e474642b9dea104f531b8be52e1e (patch) | |
tree | c251b07ed8a46a17cfb391d225351c2b9e4ce114 /drivers/pci/controller/dwc/pcie-histb.c | |
parent | bd077a53ad87cb111632e564cdfe8dfbe96786de (diff) |
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 <[email protected]>
Acked-by: Namhyung Kim <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Suggested-by: Sven Schnelle <[email protected]>
Suggested-by: Namhyung Kim <[email protected]>
Signed-off-by: Namhyung Kim <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc/pcie-histb.c')
0 files changed, 0 insertions, 0 deletions