tracing: branch tracer, fix vdso crash
authorIngo Molnar <mingo@elte.hu>
Wed, 12 Nov 2008 12:17:38 +0000 (13:17 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 12 Nov 2008 12:26:38 +0000 (13:26 +0100)
commit2b7d0390a6d6d595f43ea3806639664afe5b9ebe
tree661cd33467685dd268e35d7e4dc1dbf2aa83d994
parentf88c4ae9f8c3939bee4337c75c7a673b5de7a8a7
tracing: branch tracer, fix vdso crash

Impact: fix bootup crash

the branch tracer missed arch/x86/vdso/vclock_gettime.c from
disabling tracing, which caused such bootup crashes:

  [  201.840097] init[1]: segfault at 7fffed3fe7c0 ip 00007fffed3fea2e sp 000077

also clean up the ugly ifdefs in arch/x86/kernel/vsyscall_64.c by
creating DISABLE_UNLIKELY_PROFILE facility for code to turn off
instrumentation on a per file basis.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/vsyscall_64.c
arch/x86/vdso/vclock_gettime.c
include/linux/compiler.h