diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2022-10-25 23:33:04 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2022-10-27 22:37:26 +0300 |
commit | 06bf28cbc63287c69fe834b527127a56b65de2d7 (patch) | |
tree | 693ce2d68395acbbaf3ab86abb1dd3449fca827e /tools/perf/util/scripting-engines | |
parent | 6bc13cab5798bd9b049694983ae5702666d24e83 (diff) | |
download | linux-06bf28cbc63287c69fe834b527127a56b65de2d7.tar.xz |
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 <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/scripting-engines')
-rw-r--r-- | tools/perf/util/scripting-engines/trace-event-python.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/scripting-engines/trace-event-python.c b/tools/perf/util/scripting-engines/trace-event-python.c index 7bc8559dce6a..1985d1a42a22 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) \ |