public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* why could cause PerfTop get nothing output ?
@ 2010-10-09  9:07 Luming Yu
  2010-10-22  2:52 ` Arnaldo Carvalho de Melo
  0 siblings, 1 reply; 3+ messages in thread
From: Luming Yu @ 2010-10-09  9:07 UTC (permalink / raw)
  To: acme; +Cc: LKML

Hi acme,

I got nothing output as below, wondering if it was due to too few interrupts ?
Is it possbile to get perf top based on samples from other Perf events?

[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
             _______ _____

Thanks,
Luming

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

* Re: why could cause PerfTop get nothing output ?
  2010-10-09  9:07 why could cause PerfTop get nothing output ? Luming Yu
@ 2010-10-22  2:52 ` Arnaldo Carvalho de Melo
  2010-10-22  5:58   ` Luming Yu
  0 siblings, 1 reply; 3+ messages in thread
From: Arnaldo Carvalho de Melo @ 2010-10-22  2:52 UTC (permalink / raw)
  To: Luming Yu; +Cc: LKML

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
>              _______ _____

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

* Re: why could cause PerfTop get nothing output ?
  2010-10-22  2:52 ` Arnaldo Carvalho de Melo
@ 2010-10-22  5:58   ` Luming Yu
  0 siblings, 0 replies; 3+ messages in thread
From: Luming Yu @ 2010-10-22  5:58 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo; +Cc: LKML

On Thu, Oct 21, 2010 at 10:52 PM, Arnaldo Carvalho de Melo
<acme@ghostprotocols.net> wrote:
> 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:

Thanks for the hint.

>
> perf top -F 100000

still nothing..

-------------------------------------------------------------------------------
   PerfTop:       0 irqs/sec  kernel:-nan%  exact: -nan% [100000Hz
cycles],  (all, 2 CPUs)
-------------------------------------------------------------------------------

             samples  pcnt  DSO
             _______ _____


>> 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

still nothing...

# perf top -e instructions

-------------------------------------------------------------------------------
   PerfTop:       0 irqs/sec  kernel:-nan%  exact: -nan% [1000Hz
instructions],  (all, 2 CPUs)
-------------------------------------------------------------------------------

             samples  pcnt  DSO
             _______ _____


>
> - 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
>>              _______ _____
>

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

end of thread, other threads:[~2010-10-22  5:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-09  9:07 why could cause PerfTop get nothing output ? Luming Yu
2010-10-22  2:52 ` Arnaldo Carvalho de Melo
2010-10-22  5:58   ` Luming Yu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox