Messages in this thread | | | Subject | Re: perf top: losing events? | From | Mike Galbraith <> | Date | Thu, 21 Jan 2010 07:02:36 +0100 |
| |
Yup, definitely a booboo in there somewhere.
Step 1.
oinker running, perf top -C 3 -z
------------------------------------------------------------------------------------------------------------------------------ PerfTop: 1001 irqs/sec kernel: 0.0% [1000Hz cycles], (all, cpu: 3) ------------------------------------------------------------------------------------------------------------------------------
samples pcnt func DSO _______ _____ ____ ______________
2003.00 100.0% main /root/bin/pert
perfect (off by one is beauty mark, not wart;)
Step 2.
taskset -c 3 ./massive_intr 3 999
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ P COMMAND 7133 root 20 0 7928 232 128 R 25 0.0 0:09.68 3 massive_intr 7134 root 20 0 7928 232 128 R 25 0.0 0:09.68 3 massive_intr 25932 root 20 0 7920 584 476 R 25 0.0 42:03.07 3 pert 7132 root 20 0 7928 232 128 R 25 0.0 0:09.68 3 massive_intr
------------------------------------------------------------------------------------------------------------------------------ PerfTop: 252 irqs/sec kernel: 0.8% [1000Hz cycles], (all, cpu: 3) ------------------------------------------------------------------------------------------------------------------------------
samples pcnt func DSO _______ _____ ____ ______________
500.00 99.2% main /root/bin/pert
massive_intr appeared briefly, then poof, gone (likely when it forked off worker-bees), leaving this.
-Mike
| |