OSDN Git Service

perf evlist: Add missing util/event.h header
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 27 Oct 2022 20:44:07 +0000 (17:44 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 31 Oct 2022 14:07:19 +0000 (11:07 -0300)
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>
tools/perf/util/evlist.c

index 112850d..fbf3192 100644 (file)
@@ -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"