From: Arnaldo Carvalho de Melo Date: Tue, 25 Oct 2022 20:34:44 +0000 (-0300) Subject: perf event: Drop perf_regs.h include, not needed anymore X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=b15cf900d11d4db2c2dac544a27f3e1217bdd0d4;p=linux.git 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 --- diff --git a/tools/perf/util/event.h b/tools/perf/util/event.h index 12eae69170225..65495f6945b4d 100644 --- a/tools/perf/util/event.h +++ b/tools/perf/util/event.h @@ -12,8 +12,6 @@ #include #include -#include "perf_regs.h" - struct dso; struct machine; struct perf_event_attr;