mirror of
https://github.com/torvalds/linux.git
synced 2026-04-19 23:34:00 -04:00
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
This commit is contained in:
16
tools/perf/tests/tests-scripts.h
Normal file
16
tools/perf/tests/tests-scripts.h
Normal file
@@ -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 */
|
||||
Reference in New Issue
Block a user