lkml.org 
[lkml]   [2009]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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.


\
 
 \ /
  Last update: 2009-06-22 11:31    [W:0.436 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site