All of lore.kernel.org
 help / color / mirror / Atom feed
* Minor fix
@ 2012-06-24 22:33 Alexis Berlemont
  2012-06-25  0:37 ` Namhyung Kim
  0 siblings, 1 reply; 2+ messages in thread
From: Alexis Berlemont @ 2012-06-24 22:33 UTC (permalink / raw)
  To: linux-perf-users

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 <alexis.berlemont@gmail.com>
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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: Minor fix
  2012-06-24 22:33 Minor fix Alexis Berlemont
@ 2012-06-25  0:37 ` Namhyung Kim
  0 siblings, 0 replies; 2+ messages in thread
From: Namhyung Kim @ 2012-06-25  0:37 UTC (permalink / raw)
  To: Alexis Berlemont; +Cc: linux-perf-users

Hi, Alexis

On Mon, 25 Jun 2012 00:33:43 +0200, Alexis Berlemont wrote:
> 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?
>

Did you try to cross build it? There's a patch posted already. :)

  http://article.gmane.org/gmane.linux.kernel/1316652

Anyway, thanks for sending your patch.

Thanks,
Namhyung

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-06-25  0:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-24 22:33 Minor fix Alexis Berlemont
2012-06-25  0:37 ` Namhyung Kim

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.