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 <james.clark@linaro.org>

Additional failing tests:
Suggested-by: Namhyung Kim <namhyung@kernel.org>

Tested-by: James Clark <james.clark@linaro.org>
Signed-off-by: Ian Rogers <irogers@google.com>
Cc: Colin Ian King <colin.i.king@gmail.com>
Cc: Howard Chu <howardchu95@gmail.com>
Cc: Weilin Wang <weilin.wang@intel.com>
Cc: Ilya Leoshkevich <iii@linux.ibm.com>
Cc: Thomas Richter <tmricht@linux.ibm.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Dapeng Mi <dapeng1.mi@linux.intel.com>
Cc: Athira Jajeev <atrajeev@linux.vnet.ibm.com>
Cc: Michael Petlan <mpetlan@redhat.com>
Cc: Veronika Molnarova <vmolnaro@redhat.com>
Link: https://lore.kernel.org/r/20241025192109.132482-6-irogers@google.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
This commit is contained in:
Ian Rogers 2024-10-25 12:21:04 -07:00 committed by Namhyung Kim
parent 2c66343927
commit 2532be3d21
20 changed files with 20 additions and 20 deletions

View File

@ -1,5 +1,5 @@
#!/bin/sh -e
# CoreSight / ASM Pure Loop
# CoreSight / ASM Pure Loop (exclusive)
# SPDX-License-Identifier: GPL-2.0
# Carsten Haitzler <carsten.haitzler@arm.com>, 2021

View File

@ -1,5 +1,5 @@
#!/bin/sh -e
# CoreSight / Memcpy 16k 10 Threads
# CoreSight / Memcpy 16k 10 Threads (exclusive)
# SPDX-License-Identifier: GPL-2.0
# Carsten Haitzler <carsten.haitzler@arm.com>, 2021

View File

@ -1,5 +1,5 @@
#!/bin/sh -e
# CoreSight / Thread Loop 10 Threads - Check TID
# CoreSight / Thread Loop 10 Threads - Check TID (exclusive)
# SPDX-License-Identifier: GPL-2.0
# Carsten Haitzler <carsten.haitzler@arm.com>, 2021

View File

@ -1,5 +1,5 @@
#!/bin/sh -e
# CoreSight / Thread Loop 2 Threads - Check TID
# CoreSight / Thread Loop 2 Threads - Check TID (exclusive)
# SPDX-License-Identifier: GPL-2.0
# Carsten Haitzler <carsten.haitzler@arm.com>, 2021

View File

@ -1,5 +1,5 @@
#!/bin/sh -e
# CoreSight / Unroll Loop Thread 10
# CoreSight / Unroll Loop Thread 10 (exclusive)
# SPDX-License-Identifier: GPL-2.0
# Carsten Haitzler <carsten.haitzler@arm.com>, 2021

View File

@ -1,5 +1,5 @@
#!/bin/bash
# perftool-testsuite_report
# perftool-testsuite_report (exclusive)
# SPDX-License-Identifier: GPL-2.0
test -d "$(dirname "$0")/base_report" || exit 2

View File

@ -1,5 +1,5 @@
#!/bin/sh
# Add vfs_getname probe to get syscall args filenames
# Add vfs_getname probe to get syscall args filenames (exclusive)
# SPDX-License-Identifier: GPL-2.0
# Arnaldo Carvalho de Melo <acme@kernel.org>, 2017

View File

@ -1,5 +1,5 @@
#!/bin/sh
# Use vfs_getname probe to get syscall args filenames
# Use vfs_getname probe to get syscall args filenames (exclusive)
# Uses the 'perf test shell' library to add probe:vfs_getname to the system
# then use it with 'perf record' using 'touch' to write to a temp file, then

View File

@ -1,5 +1,5 @@
#!/bin/bash
# perf record tests
# perf record tests (exclusive)
# SPDX-License-Identifier: GPL-2.0
set -e

View File

@ -1,5 +1,5 @@
#!/bin/bash
# perf record LBR tests
# perf record LBR tests (exclusive)
# SPDX-License-Identifier: GPL-2.0
set -e

View File

@ -1,5 +1,5 @@
#!/bin/sh
# perf record offcpu profiling tests
# perf record offcpu profiling tests (exclusive)
# SPDX-License-Identifier: GPL-2.0
set -e

View File

@ -1,5 +1,5 @@
#!/bin/bash
# perf all PMU test
# perf all PMU test (exclusive)
# SPDX-License-Identifier: GPL-2.0
set -e

View File

@ -1,5 +1,5 @@
#!/bin/sh
# perf stat --bpf-counters test
# perf stat --bpf-counters test (exclusive)
# SPDX-License-Identifier: GPL-2.0
set -e

View File

@ -1,5 +1,5 @@
#!/bin/sh
# Check Arm CoreSight trace data recording and synthesized samples
# Check Arm CoreSight trace data recording and synthesized samples (exclusive)
# Uses the 'perf record' to record trace data with Arm CoreSight sinks;
# then verify if there have any branch samples and instruction samples

View File

@ -1,5 +1,5 @@
#!/bin/sh
# Check Arm CoreSight disassembly script completes without errors
# Check Arm CoreSight disassembly script completes without errors (exclusive)
# SPDX-License-Identifier: GPL-2.0
# The disassembly script reconstructs ranges of instructions and gives these to objdump to

View File

@ -1,5 +1,5 @@
#!/bin/sh
# Check Arm SPE trace data recording and synthesized samples
# Check Arm SPE trace data recording and synthesized samples (exclusive)
# Uses the 'perf record' to record trace data of Arm SPE events;
# then verify if any SPE event samples are generated by SPE with

View File

@ -1,5 +1,5 @@
#!/bin/bash
# Test data symbol
# Test data symbol (exclusive)
# SPDX-License-Identifier: GPL-2.0
# Leo Yan <leo.yan@linaro.org>, 2022

View File

@ -1,5 +1,5 @@
#!/bin/sh
# Miscellaneous Intel PT testing
# Miscellaneous Intel PT testing (exclusive)
# SPDX-License-Identifier: GPL-2.0
set -e

View File

@ -1,5 +1,5 @@
#!/bin/bash
# test Intel TPEBS counting mode
# test Intel TPEBS counting mode (exclusive)
# SPDX-License-Identifier: GPL-2.0
set -e

View File

@ -1,5 +1,5 @@
#!/bin/sh
# Check open filename arg using perf trace + vfs_getname
# Check open filename arg using perf trace + vfs_getname (exclusive)
# Uses the 'perf test shell' library to add probe:vfs_getname to the system
# then use it with 'perf trace' using 'touch' to write to a temp file, then