Re: why could cause PerfTop get nothing output ?

From: Arnaldo Carvalho de Melo
Date: Thu Oct 21 2010 - 22:53:00 EST


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
> _______ _____
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/