Skip to content

Commit 2532be3

Browse files
captain5050namhyung
authored andcommitted
perf test: Tag parallel failing shell tests with "(exclusive)"
Some shell tests compete for resources and so can't run with other tests, tag such tests. The "(exclusive)" stems from shared/exclusive to describe how the tests run as if holding a lock. For ARM/coresight tests: Suggested-by: James Clark <[email protected]> Additional failing tests: Suggested-by: Namhyung Kim <[email protected]> Tested-by: James Clark <[email protected]> Signed-off-by: Ian Rogers <[email protected]> Cc: Colin Ian King <[email protected]> Cc: Howard Chu <[email protected]> Cc: Weilin Wang <[email protected]> Cc: Ilya Leoshkevich <[email protected]> Cc: Thomas Richter <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Dapeng Mi <[email protected]> Cc: Athira Jajeev <[email protected]> Cc: Michael Petlan <[email protected]> Cc: Veronika Molnarova <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Namhyung Kim <[email protected]>
1 parent 2c66343 commit 2532be3

20 files changed

+20
-20
lines changed

tools/perf/tests/shell/coresight/asm_pure_loop.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/sh -e
2-
# CoreSight / ASM Pure Loop
2+
# CoreSight / ASM Pure Loop (exclusive)
33

44
# SPDX-License-Identifier: GPL-2.0
55
# Carsten Haitzler <[email protected]>, 2021

tools/perf/tests/shell/coresight/memcpy_thread_16k_10.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/sh -e
2-
# CoreSight / Memcpy 16k 10 Threads
2+
# CoreSight / Memcpy 16k 10 Threads (exclusive)
33

44
# SPDX-License-Identifier: GPL-2.0
55
# Carsten Haitzler <[email protected]>, 2021

tools/perf/tests/shell/coresight/thread_loop_check_tid_10.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/sh -e
2-
# CoreSight / Thread Loop 10 Threads - Check TID
2+
# CoreSight / Thread Loop 10 Threads - Check TID (exclusive)
33

44
# SPDX-License-Identifier: GPL-2.0
55
# Carsten Haitzler <[email protected]>, 2021

tools/perf/tests/shell/coresight/thread_loop_check_tid_2.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/sh -e
2-
# CoreSight / Thread Loop 2 Threads - Check TID
2+
# CoreSight / Thread Loop 2 Threads - Check TID (exclusive)
33

44
# SPDX-License-Identifier: GPL-2.0
55
# Carsten Haitzler <[email protected]>, 2021

tools/perf/tests/shell/coresight/unroll_loop_thread_10.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/sh -e
2-
# CoreSight / Unroll Loop Thread 10
2+
# CoreSight / Unroll Loop Thread 10 (exclusive)
33

44
# SPDX-License-Identifier: GPL-2.0
55
# Carsten Haitzler <[email protected]>, 2021

tools/perf/tests/shell/perftool-testsuite_report.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
# perftool-testsuite_report
2+
# perftool-testsuite_report (exclusive)
33
# SPDX-License-Identifier: GPL-2.0
44

55
test -d "$(dirname "$0")/base_report" || exit 2

tools/perf/tests/shell/probe_vfs_getname.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/sh
2-
# Add vfs_getname probe to get syscall args filenames
2+
# Add vfs_getname probe to get syscall args filenames (exclusive)
33

44
# SPDX-License-Identifier: GPL-2.0
55
# Arnaldo Carvalho de Melo <[email protected]>, 2017

tools/perf/tests/shell/record+script_probe_vfs_getname.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/sh
2-
# Use vfs_getname probe to get syscall args filenames
2+
# Use vfs_getname probe to get syscall args filenames (exclusive)
33

44
# Uses the 'perf test shell' library to add probe:vfs_getname to the system
55
# then use it with 'perf record' using 'touch' to write to a temp file, then

tools/perf/tests/shell/record.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
# perf record tests
2+
# perf record tests (exclusive)
33
# SPDX-License-Identifier: GPL-2.0
44

55
set -e

tools/perf/tests/shell/record_lbr.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
# perf record LBR tests
2+
# perf record LBR tests (exclusive)
33
# SPDX-License-Identifier: GPL-2.0
44

55
set -e

tools/perf/tests/shell/record_offcpu.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/sh
2-
# perf record offcpu profiling tests
2+
# perf record offcpu profiling tests (exclusive)
33
# SPDX-License-Identifier: GPL-2.0
44

55
set -e

tools/perf/tests/shell/stat_all_pmu.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
# perf all PMU test
2+
# perf all PMU test (exclusive)
33
# SPDX-License-Identifier: GPL-2.0
44

55
set -e

tools/perf/tests/shell/stat_bpf_counters.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/sh
2-
# perf stat --bpf-counters test
2+
# perf stat --bpf-counters test (exclusive)
33
# SPDX-License-Identifier: GPL-2.0
44

55
set -e

tools/perf/tests/shell/test_arm_coresight.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/sh
2-
# Check Arm CoreSight trace data recording and synthesized samples
2+
# Check Arm CoreSight trace data recording and synthesized samples (exclusive)
33

44
# Uses the 'perf record' to record trace data with Arm CoreSight sinks;
55
# then verify if there have any branch samples and instruction samples

tools/perf/tests/shell/test_arm_coresight_disasm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/sh
2-
# Check Arm CoreSight disassembly script completes without errors
2+
# Check Arm CoreSight disassembly script completes without errors (exclusive)
33
# SPDX-License-Identifier: GPL-2.0
44

55
# The disassembly script reconstructs ranges of instructions and gives these to objdump to

tools/perf/tests/shell/test_arm_spe.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/sh
2-
# Check Arm SPE trace data recording and synthesized samples
2+
# Check Arm SPE trace data recording and synthesized samples (exclusive)
33

44
# Uses the 'perf record' to record trace data of Arm SPE events;
55
# then verify if any SPE event samples are generated by SPE with

tools/perf/tests/shell/test_data_symbol.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
# Test data symbol
2+
# Test data symbol (exclusive)
33

44
# SPDX-License-Identifier: GPL-2.0
55
# Leo Yan <[email protected]>, 2022

tools/perf/tests/shell/test_intel_pt.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/sh
2-
# Miscellaneous Intel PT testing
2+
# Miscellaneous Intel PT testing (exclusive)
33
# SPDX-License-Identifier: GPL-2.0
44

55
set -e

tools/perf/tests/shell/test_stat_intel_tpebs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
# test Intel TPEBS counting mode
2+
# test Intel TPEBS counting mode (exclusive)
33
# SPDX-License-Identifier: GPL-2.0
44

55
set -e

tools/perf/tests/shell/trace+probe_vfs_getname.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/sh
2-
# Check open filename arg using perf trace + vfs_getname
2+
# Check open filename arg using perf trace + vfs_getname (exclusive)
33

44
# Uses the 'perf test shell' library to add probe:vfs_getname to the system
55
# then use it with 'perf trace' using 'touch' to write to a temp file, then

0 commit comments

Comments
 (0)