From: Sergey Senozhatsky <sergey.senozhatsky at gmail.com>
To: powertop@lists.01.org
Subject: Re: [Powertop] segfault on Sheevaplug (ARM Kirkwood)
Date: Wed, 23 May 2012 00:23:43 +0300 [thread overview]
Message-ID: <20120522212343.GA1215@swordfish> (raw)
In-Reply-To: 1337715350.2334.YahooMailNeo@web160306.mail.bf1.yahoo.com
[-- Attachment #1: Type: text/plain, Size: 2047 bytes --]
On (05/22/12 12:35), Rui DaCosta wrote:
>
> thanks, same result:
> PowerTOP v2.0 needs the kernel to support the 'perf' subsystem
> as well as support for trace points in the kernel:
>
> CONFIG_PERF_EVENTS=y
> CONFIG_PERF_COUNTERS=y
> CONFIG_TRACEPOINTS=y
> CONFIG_TRACING=y
>
>
Hm...
Could you please tell the number of '__NR_perf_event_open' syscall in your
unistd.h?
-ss
> Regards,
> Rui
>
> ──────────────────────────────────────────────────────────────────────────
>
> From: Sergey Senozhatsky <sergey.senozhatsky(a)gmail.com>
> To: Rui DaCosta <ruidc(a)yahoo.com>
> Cc: Arjan van de Ven <arjan(a)linux.intel.com>; Chris Ferron
> <chris.e.ferron(a)linux.intel.com>; "powertop(a)lists.01.org"
> <powertop(a)lists.01.org>
> Sent: Monday, 21 May 2012, 0:17
> Subject: Re: [Powertop] segfault on Sheevaplug (ARM Kirkwood)
> 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
> > [1]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"
>
> References
>
> Visible links
> 1. http://cateee.net/lkddb/web-lkddb/PERF_COUNTERS.html
next reply other threads:[~2012-05-22 21:23 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-22 21:23 Sergey Senozhatsky [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-05-22 22:08 [Powertop] segfault on Sheevaplug (ARM Kirkwood) Rui DaCosta
2012-05-22 21:58 Rui DaCosta
2012-05-22 20:50 Thomas Spura
2012-05-22 19:35 Rui DaCosta
2012-05-22 19:19 Rui DaCosta
2012-05-21 23:09 Chris Ferron
2012-05-20 22:17 Sergey Senozhatsky
2012-05-20 22:05 Sergey Senozhatsky
2012-05-20 21:57 Sergey Senozhatsky
2012-05-20 19:32 Rui DaCosta
2012-05-20 11:01 Rui DaCosta
2012-05-20 9:34 Sergey Senozhatsky
2012-05-20 9:19 Rui DaCosta
2012-05-20 9:05 Sergey Senozhatsky
2012-05-20 8:41 Rui DaCosta
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120522212343.GA1215@swordfish \
--to=powertop@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.