Patch "perf test shell arm_coresight: Increase buffer size for Coresight basic tests" has been added to the 6.9-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    perf test shell arm_coresight: Increase buffer size for Coresight basic tests

to the 6.9-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     perf-test-shell-arm_coresight-increase-buffer-size-f.patch
and it can be found in the queue-6.9 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 240d67ee53021129b58762fa9b6f8a96f1aca488
Author: James Clark <james.clark@xxxxxxx>
Date:   Tue Mar 26 11:37:49 2024 +0000

    perf test shell arm_coresight: Increase buffer size for Coresight basic tests
    
    [ Upstream commit 10b6ee3b597b1b1b4dc390aaf9d589664af31df9 ]
    
    These tests record in a mode that includes kernel trace but look for
    samples of a userspace process. This makes them sensitive to any kernel
    compilation options that increase the amount of time spent in the
    kernel. If the trace buffer is completely filled before userspace is
    reached then the test will fail. Double the buffer size to fix this.
    
    The other tests in the same file aren't sensitive to this for various
    reasons, for example the iterate devices test filters by userspace trace
    only. But in order to keep coverage of all the modes, increase the
    buffer size rather than filtering by userspace for the basic tests.
    
    Fixes: d1efa4a0a696e487 ("perf cs-etm: Add separate decode paths for timeless and per-thread modes")
    Reviewed-by: Anshuman Khandual <anshuman.khandual@xxxxxxx>
    Signed-off-by: James Clark <james.clark@xxxxxxx>
    Cc: Adrian Hunter <adrian.hunter@xxxxxxxxx>
    Cc: Alexander Shishkin <alexander.shishkin@xxxxxxxxxxxxxxx>
    Cc: Ian Rogers <irogers@xxxxxxxxxx>
    Cc: Ingo Molnar <mingo@xxxxxxxxxx>
    Cc: James Clark <james.clark@xxxxxxx>
    Cc: Jiri Olsa <jolsa@xxxxxxxxxx>
    Cc: Mark Rutland <mark.rutland@xxxxxxx>
    Cc: Mike Leach <mike.leach@xxxxxxxxxx>
    Cc: Namhyung Kim <namhyung@xxxxxxxxxx>
    Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
    Cc: Suzuki Poulouse <suzuki.poulose@xxxxxxx>
    Link: https://lore.kernel.org/r/20240326113749.257250-1-james.clark@xxxxxxx
    Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/tools/perf/tests/shell/test_arm_coresight.sh b/tools/perf/tests/shell/test_arm_coresight.sh
index 65dd852071250..3302ea0b96723 100755
--- a/tools/perf/tests/shell/test_arm_coresight.sh
+++ b/tools/perf/tests/shell/test_arm_coresight.sh
@@ -188,7 +188,7 @@ arm_cs_etm_snapshot_test() {
 
 arm_cs_etm_basic_test() {
 	echo "Recording trace with '$*'"
-	perf record -o ${perfdata} "$@" -- ls > /dev/null 2>&1
+	perf record -o ${perfdata} "$@" -m,8M -- ls > /dev/null 2>&1
 
 	perf_script_branch_samples ls &&
 	perf_report_branch_samples ls &&




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux