perf event: Drop perf_regs.h include, not needed anymore
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 25 Oct 2022 20:34:44 +0000 (17:34 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 27 Oct 2022 19:37:26 +0000 (16:37 -0300)
Since commit c897899752478d4c ("perf tools: Prevent out-of-bounds access
to registers") the util/event.h header doesn't use anything from
util/perf_regs.h, so drop it to untangle the header dependency tree a
bit, speeding up compilation.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/event.h

index 12eae69170225206670548754f685af575498339..65495f6945b4d3e5effcc4730c95ae88bbb15b17 100644 (file)
@@ -12,8 +12,6 @@
 #include <perf/event.h>
 #include <linux/types.h>
 
-#include "perf_regs.h"
-
 struct dso;
 struct machine;
 struct perf_event_attr;