From: Arnaldo Carvalho de Melo Date: Tue, 25 Oct 2022 20:33:04 +0000 (-0300) Subject: perf scripting python: Add missing util/perf_regs.h include to get perf_reg_name... X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=06bf28cbc63287c69fe834b527127a56b65de2d7;p=linux.git perf scripting python: Add missing util/perf_regs.h include to get perf_reg_name() prototype It was getting it via event.h, that doesn't need that include anymore and will drop it. Signed-off-by: Arnaldo Carvalho de Melo --- diff --git a/tools/perf/util/scripting-engines/trace-event-python.c b/tools/perf/util/scripting-engines/trace-event-python.c index 7bc8559dce6af..1985d1a42a224 100644 --- a/tools/perf/util/scripting-engines/trace-event-python.c +++ b/tools/perf/util/scripting-engines/trace-event-python.c @@ -52,6 +52,7 @@ #include "print_binary.h" #include "stat.h" #include "mem-events.h" +#include "util/perf_regs.h" #if PY_MAJOR_VERSION < 3 #define _PyUnicode_FromString(arg) \