Hi Salman,

On Thu, Jun 19, 2014 at 1:36 PM, Salman Ahmed <salman...@yahoo.com> wrote:
> Hello,
> Running top command with idlestat tool doesn't show any frequency
> information sometimes. I have run the program with the following
> command -
> # sudo idlestat --trace -t 5 -f /tmp/myoutput /usr/bin/top
> and it ended up with the following output where there is no frequency
> state information. The file "myoutput" doesn't have any cpu_frequency
> entry either.

There was a bug in the waitpid logic, a fix for which was committed to
the git tree.

Please try this again with the new code.

Also, you might want to use it as such:

sudo idlestat --trace -t 5 -f /tmp/myoutput -- /usr/bin/top

(note the --) to ensure that idlestat doesn't get confused about the
command being another commandline parameter.

> Total trace buffer: 153896 kB
> Log is 4.999488 secs long with 675 events
> clusterA@state  hits          total(us)         avg(us) min(us) max(us)
>          C6-SNB 163          4955450.00        30401.53 0.00    141946.00
>   cpu0@state    hits          total(us)         avg(us) min(us) max(us)
>        C1-SNB   1                912.00          912.00 912.00  912.00
>        C6-SNB   115          4996270.00        43445.83 67.00   211819.00
>   cpu0 wakeups  name            count
>        irq040   eth0            50
>   cpu1@state    hits          total(us)         avg(us) min(us) max(us)
>        C1-SNB   3              10809.00         3603.00 27.00   10742.00
>        C6-SNB   62           4985746.00        80415.26 59.00   223952.00
>   cpu1 wakeups  name            count
>        irq018   ata_piix        6
>   cpu2@state    hits          total(us)         avg(us) min(us) max(us)
>        C1-SNB   3              10800.00         3600.00 26.00   10745.00
>        C6-SNB   52           4986684.00        95897.77 5724.00 223957.00
>   cpu2 wakeups  name            count
>   cpu3@state    hits          total(us)         avg(us) min(us) max(us)
>        C1-SNB   20             15123.00          756.15 121.00  10895.00
>        C6-SNB   47           4962591.00       105587.04 1.00    223950.00
>   cpu3 wakeups  name            count
> Does that mean processors spent all time in idle state and none in active 
> state?
>
> --
> Best Regards
> Salman Ahmed
>
> _______________________________________________
> linaro-dev mailing list
> linaro-dev@lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/linaro-dev

_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to