[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ltp-coverage
Subject:    [Ltp-coverage] Can gcov-kernel work with Linux-2.6.13.2?
From:       <xuequan () ncic ! ac ! cn>
Date:       2008-12-22 12:06:11
Message-ID: 494F82B3.3070802 () ncic ! ac ! cn
[Download RAW message or body]

Can gcov-kernel work with Linux-2.6.13.2?
when I patch the gcov-kernel with linux kernel 2.6.13.2
(Testing system is an x86_64 machine, the patch I used is gcov-kernel-2
, linux-2.6.14-gcov.patch)
and choose the follows

GCOV coverage profiling --->
[*] Include GCOV coverage profiling
[*] Profile entire Kernel (NEW)
<*> Provide GCOV proc file system entry
[ ] Support for modified GCC version 3.3.x (hammer patch) (NEW)

when system reboot to the new kernel ,
it will display the follows:

/Red Hat nash version 5.1.19.6 starting
init[1]: segfault at ffffffff8086bd78 rip ffffffffff600406 rsp
00007fffff907338 error 7
nash received SIKernel panic - not syncing: Attempted to kill init!
GSEGV! Backtrac /

this RIP located in the file vsyscall.c as follows

Disassembly of section .vsyscall_1:

ffffffffff600400 <vtime>:
ffffffffff600400: 8b 15 ea fd ff ff mov -534(%rip),%edx #
ffffffffff6001f0 <__sysctl_vsyscall>
ffffffffff600406: 85 d2 test %edx,%edx
ffffffffff600408: 75 16 jne ffffffffff600420 <vsysc1+0x11>
ffffffffff60040a: b8 c9 00 00 00 mov $0xc9,%eax

ffffffffff60040f <vsysc1>:
ffffffffff60040f: 0f 05 syscall
ffffffffff600411: 48 ff 05 a0 aa 29 81 incq -2127975776(%rip) #
ffffffff8089aeb8 <irq_trigger+0x5cc>
ffffffffff600418: c3 retq
ffffffffff600419: 66 data16
ffffffffff60041a: 66 data16
ffffffffff60041b: 66 data16
ffffffffff60041c: 90 nop
ffffffffff60041d: 66 data16
ffffffffff60041e: 66 data16
ffffffffff60041f: 90 nop
ffffffffff600420: 48 85 ff test %rdi,%rdi
ffffffffff600423: 74 11 je ffffffffff600436 <vsysc1+0x27>
ffffffffff600425: 48 8b 05 d4 fd ff ff mov -556(%rip),%rax #
ffffffffff600200 <__xtime>
ffffffffff60042c: 48 89 07 mov %rax,(%rdi)
*ffffffffff60042f: 48 ff 05 8a aa 29 81 incq -2127975798(%rip) #
ffffffff8089aec0 <irq_trigger+0x5d4>*
ffffffffff600436: 48 ff 05 8b aa 29 81 incq -2127975797(%rip) #
ffffffff8089aec8 <irq_trigger+0x5dc>
ffffffffff60043d: 48 8b 05 bc fd ff ff mov -580(%rip),%rax #
ffffffffff600200 <__xtime>
ffffffffff600444: c3 retq

So , can gcov-kernel work with Linux-2.6.13.2?
Thanks very much!

------------------------------------------------------------------------------
_______________________________________________
Ltp-coverage mailing list
Ltp-coverage@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-coverage
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic