diff options
| author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2022-10-27 17:02:57 -0300 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2022-10-31 11:07:08 -0300 |
| commit | fd8d5a3b076c033f5589186ac49d76e74b39f97f (patch) | |
| tree | dd9e8c766a86c9c2c352e8bc63303b086a39e4ab /tools/perf/tests/perf-record.c | |
| parent | cde5671268faf6419026ebd5e0f1783b3a84cf39 (diff) | |
perf tests: Add missing event.h include
It uses things like perf_event__name() but were not including event.h,
where its prototype lives, fix it.
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/tests/perf-record.c')
| -rw-r--r-- | tools/perf/tests/perf-record.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/tests/perf-record.c b/tools/perf/tests/perf-record.c index d82539e2ae64..1c4feec1adff 100644 --- a/tools/perf/tests/perf-record.c +++ b/tools/perf/tests/perf-record.c @@ -5,6 +5,7 @@ #include <sched.h> #include <perf/mmap.h> +#include "event.h" #include "evlist.h" #include "evsel.h" #include "debug.h" |
