mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 14:11:52 +00: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:
parent
1a562c0d44
commit
d5bcade989
@ -1,7 +1,7 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
|
||||
perf-y += builtin-test.o
|
||||
perf-y += builtin-test-list.o
|
||||
perf-y += tests-scripts.o
|
||||
perf-y += parse-events.o
|
||||
perf-y += dso-data.o
|
||||
perf-y += attr.o
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include <subcmd/exec-cmd.h>
|
||||
#include <linux/zalloc.h>
|
||||
|
||||
#include "builtin-test-list.h"
|
||||
#include "tests-scripts.h"
|
||||
|
||||
static bool dont_fork;
|
||||
const char *dso_to_test;
|
||||
|
@ -15,7 +15,7 @@
|
||||
#include <sys/wait.h>
|
||||
#include <sys/stat.h>
|
||||
#include "builtin.h"
|
||||
#include "builtin-test-list.h"
|
||||
#include "tests-scripts.h"
|
||||
#include "color.h"
|
||||
#include "debug.h"
|
||||
#include "hist.h"
|
@ -1,4 +1,6 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
#ifndef TESTS_SCRIPTS_H
|
||||
#define TESTS_SCRIPTS_H
|
||||
|
||||
struct script_file {
|
||||
char *dir;
|
||||
@ -10,3 +12,5 @@ struct script_file {
|
||||
const struct script_file *list_script_files(void);
|
||||
/* Get maximum width of description string */
|
||||
int list_script_max_width(void);
|
||||
|
||||
#endif /* TESTS_SCRIPTS_H */
|
Loading…
Reference in New Issue
Block a user