forked from mirrors/nixpkgs
18 lines
548 B
Diff
18 lines
548 B
Diff
http://permalink.gmane.org/gmane.linux.kernel.perf.user/960
|
|
|
|
Fix to build perf.
|
|
|
|
diff --git a/tools/perf/util/evsel.c b/tools/perf/util/evsel.c
|
|
index 9f6cebd..d5491f1 100644
|
|
--- a/tools/perf/util/evsel.c
|
|
+++ b/tools/perf/util/evsel.c
|
|
@@ -15,7 +15,7 @@
|
|
#include "cpumap.h"
|
|
#include "thread_map.h"
|
|
#include "target.h"
|
|
-#include "../../include/linux/perf_event.h"
|
|
+#include "../../../include/linux/perf_event.h"
|
|
|
|
#define FD(e, x, y) (*(int *)xyarray__entry(e->fd, x, y))
|
|
#define GROUP_FD(group_fd, cpu) (*(int *)xyarray__entry(group_fd, cpu, 0))
|