summaryrefslogtreecommitdiff
path: root/tools/perf/util/evlist.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2022-10-27 17:44:07 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2022-10-31 11:07:19 -0300
commit2e5a738abc69601a4ea4a3544ec29cab9189eaae (patch)
tree2ee104490b4644be253acce35a39a879591ec675 /tools/perf/util/evlist.c
parent606f70ab7f5ace535514a5fa6f9ad62ae6e515eb (diff)
perf evlist: Add missing util/event.h header
Needed to get the event_attr_init() and perf_event_paranoid() prototypes that were being obtained indirectly, by sheer luck. Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/evlist.c')
-rw-r--r--tools/perf/util/evlist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/evlist.c b/tools/perf/util/evlist.c
index 112850d629cb..fbf3192bced9 100644
--- a/tools/perf/util/evlist.c
+++ b/tools/perf/util/evlist.c
@@ -24,6 +24,7 @@
#include "../perf.h"
#include "asm/bug.h"
#include "bpf-event.h"
+#include "util/event.h"
#include "util/string2.h"
#include "util/perf_api_probe.h"
#include "util/evsel_fprintf.h"