From: Arnaldo Carvalho de Melo <acme@infradead.org>
To: Luming Yu <luming.yu@gmail.com>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: why could cause PerfTop get nothing output ?
Date: Fri, 22 Oct 2010 00:52:45 -0200 [thread overview]
Message-ID: <20101022025245.GJ23835@ghostprotocols.net> (raw)
In-Reply-To: <AANLkTi=vJArRbLup=F2duoxx47LFGTT3++4QiFZHJbzQ@mail.gmail.com>
Em Sat, Oct 09, 2010 at 05:07:42AM -0400, Luming Yu escreveu:
> Hi acme,
>
> I got nothing output as below, wondering if it was due to too few interrupts ?
Try using a higher frequency:
perf top -F 100000
> Is it possbile to get perf top based on samples from other Perf events?
Yes, any event, just specify it like:
perf top -e instructions
- Arnaldo
> [root@localhost clocksource0]# rpm -qa | grep perf
> perf-2.6.36-0.35.rc7.git0.fc15.x86_64
> [root@localhost clocksource0]# uname -a
> Linux localhost.localdomain 2.6.36-0.35.rc7.git0.fc15.x86_64 #1 SMP
> Wed Oct 6 22:02:54 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux
> [root@localhost clocksource0]# perf top
>
> -------------------------------------------------------------------------------
> PerfTop: 0 irqs/sec kernel:-nan% exact: -nan% [1000Hz
> cycles], (all, 2 CPUs)
> -------------------------------------------------------------------------------
>
> samples pcnt DSO
> _______ _____
next prev parent reply other threads:[~2010-10-22 2:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-09 9:07 why could cause PerfTop get nothing output ? Luming Yu
2010-10-22 2:52 ` Arnaldo Carvalho de Melo [this message]
2010-10-22 5:58 ` Luming Yu
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=20101022025245.GJ23835@ghostprotocols.net \
--to=acme@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=luming.yu@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox