On Mon, Mar 04, 2002 at 11:36:15AM +0900, Hiro Yoshioka wrote: > $ /usr/sbin/readprofile -m /boot/System.map|sort -rn|head > 713683 total 0.6772 > 705929 default_idle 17648.2250 > 743 kmalloc 1.6294 > 491 handle_IRQ_event 5.3370 > 371 __rdtsc_delay 13.2500 > 348 kmem_cache_alloc 0.8878 > 330 kfree 0.5288 > 285 unix_poll 1.9257 > 265 system_call 4.7321 > 264 do_select 0.5546 > > Does kmalloc spend '743' clock ticks? If so, > what does 'clock ticks' mean? This means that 743 times, x86_do_profile got executed, and the current PC value was inside the kmalloc() function. By default, x86_do_profile is triggered at every timer interrupt, unless you are using the local APIC option, in which case you can set the frequency seperately, by writing to /proc/profile, I believe. So the 743 is roughly proportional to the total amount of time spent inside kmalloc(). The other value is the normalised count (the count divided by the size of the function). regards john -- I am a complete moron for forgetting about endianness. May I be forever marked as such. -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ IRC Channel: irc.openprojects.net / #kernelnewbies Web Page: http://www.kernelnewbies.org/