From: Arjan van de Ven <arjan@infradead.org>
To: Sitsofe Wheeler <sitsofe@yahoo.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>,
Paul Mackerras <paulus@samba.org>, Ingo Molnar <mingo@elte.hu>,
Arnaldo Carvalho de Melo <acme@redhat.com>,
linux-kernel@vger.kernel.org
Subject: Re: perf timechart segfault
Date: Sun, 24 Oct 2010 10:03:56 -0700 [thread overview]
Message-ID: <20101024100356.7af1f4dd@infradead.org> (raw)
In-Reply-To: <20101024162302.GA5586@sucs.org>
On Sun, 24 Oct 2010 17:23:02 +0100
Sitsofe Wheeler <sitsofe@yahoo.com> wrote:
> Hi,
>
> I've run into a couple of issues using perf timechart:
>
> 1. (On 2.6.36) If I issue
> echo 0 > /proc/sys/kernel/perf_event_paranoid
> as root before running
> perf timechart record echo
> as a normal user the following is printed:
>
> Fatal: Permission error - are you root?
> Consider tweaking /proc/sys/kernel/perf_event_paranoid.
>
> Shouldn't it just say it needs root permissions for a timechart
> record?
timechart needs root perms since it gets very global data.
>
> 2. (On -tip) Running
> perf timechart record echo
> outputs
> invalid or unsupported event: 'power:power_start'
> Run 'perf list' for a list of valid events
tip broke ABI :-(
That's one for Ingo to deal with for now.
>
> 3. (On 2.6.36) I can't seem to convince timechart to ever capture more
> than 34000 samples. When trying to record using
> perf timechart record -fga sleep 10
> and then creating a graph using perf timechart, it only ever
> outputs a few seconds worth.
does this happen even without the "fga" ?
I've used timechart to capture a minute of data before
(but... you need a rather quiet system for that to be useful.... you
otherwise get an impossibly big SVG file)
--
Arjan van de Ven Intel Open Source Technology Centre
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
next prev parent reply other threads:[~2010-10-24 17:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-24 16:23 perf timechart segfault Sitsofe Wheeler
2010-10-24 17:03 ` Arjan van de Ven [this message]
2010-10-24 17:11 ` Ingo Molnar
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=20101024100356.7af1f4dd@infradead.org \
--to=arjan@infradead.org \
--cc=a.p.zijlstra@chello.nl \
--cc=acme@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=paulus@samba.org \
--cc=sitsofe@yahoo.com \
/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.