From: Arnaldo Carvalho de Melo Date: Thu, 27 Oct 2022 20:44:07 +0000 (-0300) Subject: perf evlist: Add missing util/event.h header X-Git-Tag: v6.2-rc1~64^2~193 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=2e5a738abc69601a4ea4a3544ec29cab9189eaae;p=tomoyo%2Ftomoyo-test1.git 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 --- 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"