diff options
author | James Clark <[email protected]> | 2022-12-13 11:47:37 +0000 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2022-12-14 11:24:32 -0300 |
commit | c3a8f85351b15167d6c8d178656df82ba3c34712 (patch) | |
tree | 90f744cda2c336dfda09f05a8a5b7ec6083c43f1 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | a8f26192ca769c6b37a04b3ee188f28069fd5d53 (diff) |
perf test: Add mechanism for skipping attr tests on auxiliary vector values
This can be used to skip tests or provide different test values on
different platforms. For example to run a test only where Arm SVE is
present add this to the config section:
auxv = auxv["AT_HWCAP"] & 0x200000 == 0x200000
The value is a freeform Python expression that is evaled in the context
of a map called "auxv" that contains the decoded auxiliary vector.
Signed-off-by: James Clark <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions