diff options
| author | Ian Rogers <irogers@google.com> | 2024-02-20 19:41:52 -0800 |
|---|---|---|
| committer | Namhyung Kim <namhyung@kernel.org> | 2024-02-22 09:12:40 -0800 |
| commit | d5bcade989a86caa4314aa91d6d3f652e8a82fe5 (patch) | |
| tree | a3b05073cb8a44555704ede6ce4b644f0d65404f /tools/perf/tests/tests-scripts.h | |
| parent | tools subcmd: Add a no exec function call option (diff) | |
| download | linux-d5bcade989a86caa4314aa91d6d3f652e8a82fe5.tar.gz linux-d5bcade989a86caa4314aa91d6d3f652e8a82fe5.zip | |
perf test: Rename builtin-test-list and add missed header guard
builtin-test-list is primarily concerned with shell script
tests. Rename the file to better reflect this and add a missed header
guard.
Signed-off-by: Ian Rogers <irogers@google.com>
Cc: James Clark <james.clark@arm.com>
Cc: Justin Stitt <justinstitt@google.com>
Cc: Bill Wendling <morbo@google.com>
Cc: Nick Desaulniers <ndesaulniers@google.com>
Cc: Yang Jihong <yangjihong1@huawei.com>
Cc: Nathan Chancellor <nathan@kernel.org>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Athira Jajeev <atrajeev@linux.vnet.ibm.com>
Cc: llvm@lists.linux.dev
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/r/20240221034155.1500118-6-irogers@google.com
Diffstat (limited to 'tools/perf/tests/tests-scripts.h')
| -rw-r--r-- | tools/perf/tests/tests-scripts.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/perf/tests/tests-scripts.h b/tools/perf/tests/tests-scripts.h new file mode 100644 index 000000000000..3a3ec6191848 --- /dev/null +++ b/tools/perf/tests/tests-scripts.h @@ -0,0 +1,16 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef TESTS_SCRIPTS_H +#define TESTS_SCRIPTS_H + +struct script_file { + char *dir; + char *file; + char *desc; +}; + +/* List available script tests to run - singleton - never freed */ +const struct script_file *list_script_files(void); +/* Get maximum width of description string */ +int list_script_max_width(void); + +#endif /* TESTS_SCRIPTS_H */ |
