Messages in this thread | | | Date | Mon, 22 Jun 2009 13:28:21 +0200 | From | Peter Oberparleiter <> | Subject | Re: gcov: enable GCOV_PROFILE_ALL for x86_64 |
| |
Ingo Molnar wrote: > * Linux Kernel Mailing List <linux-kernel@vger.kernel.org> wrote: > >> Gitweb: http://git.kernel.org/linus/7bf99fb673f18408be1ebc958321ef4c3f6da9e2 >> Commit: 7bf99fb673f18408be1ebc958321ef4c3f6da9e2 >> Parent: 2521f2c228ad750701ba4702484e31d876dbc386 >> Author: Peter Oberparleiter <oberpar@linux.vnet.ibm.com> >> AuthorDate: Wed Jun 17 16:28:09 2009 -0700 >> Committer: Linus Torvalds <torvalds@linux-foundation.org> >> CommitDate: Thu Jun 18 13:03:58 2009 -0700 >> >> gcov: enable GCOV_PROFILE_ALL for x86_64 >> >> Enable gcov profiling of the entire kernel on x86_64. Required changes >> include disabling profiling for: >> >> * arch/kernel/acpi/realmode and arch/kernel/boot/compressed: >> not linked to main kernel >> * arch/vdso, arch/kernel/vsyscall_64 and arch/kernel/hpet: >> profiling causes segfaults during boot (incompatible context) > > This feature crashes on bootup:
I can recreate the crash using your config. It looks like another object file in arch/x86 is incompatible with gcov profiling (most likely due to special stack usage) and needs to be excluded from profiling. I'm working on identifying this file but it will take a bit more time.
| |