Hello - I'm trying to do some kernel profiling and have hit a snag in gprof, running on -current: (gdb) run /boot/kernel/kernel /root/kernel.gmon Starting program: /mnt/usr/6src/src2/usr.bin/gprof/gprof /boot/kernel/kernel /root/kernel.gmon Program received signal SIGFPE, Arithmetic exception. 0x080493f0 in openpfile (filename=0xbfbfee5b "/root/kernel.gmon") at gprof.c:311 311 nsamples = sampbytes / histcounter_size; (gdb) where #0 0x080493f0 in openpfile (filename=0xbfbfee5b "/root/kernel.gmon") at gprof.c:311 #1 0x080491e1 in getpfile (filename=0xbfbfee5b "/root/kernel.gmon") at gprof.c:247 #2 0x08049125 in main (argc=2, argv=0xbfbfed68) at gprof.c:188 histcounter_type == 1 and at line 304 we: histcounter_size = abs(histcounter_type) / CHAR_BIT; Anyone familiar with this code that can toss me a clue? SamReceived on Thu Oct 28 2004 - 19:28:01 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:20 UTC