Re: [Powertop] segfault on Sheevaplug (ARM Kirkwood)
Sergey Senozhatsky <sergey.senozhatsky at gmail.com> Mon, 21 May 2012 01:17:20 +0300
| Newsgroups | dev.linux.lists.powertop |
|---|---|
| Message-ID | <20120520221720.GC3585@swordfish> |
On (05/20/12 12:32), Rui DaCosta wrote: > > it was pointed out to me that CONFIG_PERF_COUNTERS has been superseded by > PERF_EVENTS since 2.6.32 - see bottom section of > http://cateee.net/lkddb/web-lkddb/PERF_COUNTERS.html > so is CONFIG_PERF_COUNTERS really required? > Could you please try the following patch? --- src/perf/perf.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/perf/perf.cpp b/src/perf/perf.cpp index ce9ae6a..09ca390 100644 --- a/src/perf/perf.cpp +++ b/src/perf/perf.cpp @@ -48,6 +48,9 @@ #ifdef __alpha__ #include <asm-generic/unistd.h> #endif +#ifdef __arm__ +#include <asm-generic/unistd.h> +#endif #include "perf.h" #include "../lib.h"