I applied the patch profile-0.12.2-2.4.19.patch.gz to linux-2.4.19. I can run
kernprof (1.5) for the time domain. But, when I tried to use the PMC domain
such as
kernprof -b -d pmc -a 0x79 -f 800 -t acg
I got something like:
Flat profile:
Each sample counts as -0.00125 events (0x3007.
% cumulative self self total
time events (0 events ( calls ae/call ae/call name
25.14 -58.85 -58.85 cg_record_arc
14.68 -93.22 -34.37 csum_partial_copy_generic
14.19 -126.43 -33.21 307915 -107858499910689.64 -107858499910689.64
boomerang_start_xmit
6.72 -142.15 -15.72 77531 -202789851801215.00 -250173066481476.41
boomerang_interrupt
5.12 -154.13 -11.98 USER
3.85 -163.14 -9.02 85177 -105838430562240.98 -347696058204885.88
handle_IRQ_event
2.65 -169.35 -6.21 129149 -48064638518300.57 -580590560157495.25
do_softirq
2.11 -174.30 -4.95 mcount
Do they look right? Why am I getting negative numbers and, if they are okay,
how do I interpret them?
Here is my CPU info:
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 8
model name : Pentium III (Coppermine)
stepping : 3
cpu MHz : 848.055
cache size : 256 KB
Thanks,
Allen Lin
|