diff options
| -rw-r--r-- | tools/perf/builtin-check.c | 5 | ||||
| -rw-r--r-- | tools/perf/builtin.h | 5 |
2 files changed, 5 insertions, 5 deletions
diff --git a/tools/perf/builtin-check.c b/tools/perf/builtin-check.c index bed9df0d7912..a451fa25f50d 100644 --- a/tools/perf/builtin-check.c +++ b/tools/perf/builtin-check.c @@ -22,6 +22,11 @@ static const char *check_feature_usage[] = { NULL }; +#define FEATURE_STATUS(name_, macro_) { \ + .name = name_, \ + .macro = #macro_, \ + .is_builtin = IS_BUILTIN(macro_) } + struct feature_status supported_features[] = { FEATURE_STATUS("aio", HAVE_AIO_SUPPORT), FEATURE_STATUS("bpf", HAVE_LIBBPF_SUPPORT), diff --git a/tools/perf/builtin.h b/tools/perf/builtin.h index b7e60d19fad9..7db7bc054f6e 100644 --- a/tools/perf/builtin.h +++ b/tools/perf/builtin.h @@ -8,11 +8,6 @@ struct feature_status { int is_builtin; }; -#define FEATURE_STATUS(name_, macro_) { \ - .name = name_, \ - .macro = #macro_, \ - .is_builtin = IS_BUILTIN(macro_) } - extern struct feature_status supported_features[]; void feature_status__printf(const struct feature_status *feature); |
