Hi,

Has anyway try to compile perf at the latest tag (v3.5-rc4) or on
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git ?

I did not manage to do it without this little fix.

Did I miss something obvious?

Alexis.


>From d2f83b6f0a7a3805f640e722f2c6ccfcdbbd91fc Mon Sep 17 00:00:00 2001
From: Alexis Berlemont <[email protected]>
Date: Mon, 25 Jun 2012 00:26:08 +0200
Subject: [PATCH] perf: minor compilation fix (wrong include path)

---
 tools/perf/util/evsel.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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))
-- 
1.7.10
--
To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to