summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2022-10-25 17:34:44 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2022-10-27 16:37:26 -0300
commitb15cf900d11d4db2c2dac544a27f3e1217bdd0d4 (patch)
tree67d667351851fc85f3b529b39ed777864e44261d
parent06bf28cbc63287c69fe834b527127a56b65de2d7 (diff)
downloadlwn-b15cf900d11d4db2c2dac544a27f3e1217bdd0d4.tar.gz
lwn-b15cf900d11d4db2c2dac544a27f3e1217bdd0d4.zip
perf event: Drop perf_regs.h include, not needed anymore
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>
-rw-r--r--tools/perf/util/event.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/perf/util/event.h b/tools/perf/util/event.h
index 12eae6917022..65495f6945b4 100644
--- a/tools/perf/util/event.h
+++ b/tools/perf/util/event.h
@@ -12,8 +12,6 @@
#include <perf/event.h>
#include <linux/types.h>
-#include "perf_regs.h"
-
struct dso;
struct machine;
struct perf_event_attr;