Messages in this thread | | | Date | Tue, 24 Feb 2004 15:20:33 -0800 | From | Andrew Morton <> | Subject | Re: network / performance problems |
| |
Ron Peterson <rpeterso@MtHolyoke.edu> wrote: > > I haven't done kernel profiling before. Did a little googling and this is > what I think I know (2.4.x) > > In lilo.conf, do append="profile=2" (is 2 a good number?) > reboot > echo > /proc/profile > readprofile -m System.map-2.4.24 (or whatever)
Do this:
- boot with `profile=1'
- make sure that /boot/System.map pertains to the currently-running kernel
sudo readprofile -r sudo readprofile -M10 sleep 60 sudo readprofile -n -v -m /boot/System.map | sort -n +2 > prof.out
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |