Skip to content

Commit e083a21

Browse files
committed
perf tools: event.h needs asm/perf_regs.h
As it uses PERF_REGS_MAX, fix it. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Wang Nan <wangnan0@huawei.com> Link: http://lkml.kernel.org/n/tip-2t232w0kcqu97xod8t2at2h0@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
1 parent 86695f5 commit e083a21

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎tools/perf/util/event.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#include "map.h"
99
#include "build-id.h"
1010
#include "perf_regs.h"
11+
#include <asm/perf_regs.h>
1112

1213
struct mmap_event {
1314
struct perf_event_header header;

0 commit comments

Comments
 (0)