android_kernel_xiaomi_sm8350/init
Frederic Weisbecker 91f73f90d9 tracing/markers: make markers select tracepoints
Sometimes it happens that KConfig dependencies are not handled
like in the following scenario:

- config A
   bool

- config B
   bool
   depends on A

- config C
   bool
   select B

If one selects C, then it will select B without checking its
dependency to A, if A hasn't been selected elsewhere, it will
result in a build failure.

This is what happens on the following build error:

 kernel/built-in.o: In function `marker_update_probe_range':
 (.text+0x52f64): undefined reference to `tracepoint_probe_register_noupdate'
 kernel/built-in.o: In function `marker_update_probe_range':
 (.text+0x52f74): undefined reference to `tracepoint_probe_unregister_noupdate'
 kernel/built-in.o: In function `marker_update_probe_range':
 (.text+0x52fb9): undefined reference to `tracepoint_probe_unregister_noupdate'
 kernel/built-in.o: In function `marker_update_probes':
 marker.c:(.text+0x530ba): undefined reference to `tracepoint_probe_update_all'

CONFIG_KVM_TRACE will select CONFIG_MARKER, but the latter
depends on CONFIG_TRACEPOINTS which will not be selected.

Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-02-20 19:30:04 +01:00
..
calibrate.c
do_mounts_initrd.c
do_mounts_md.c autodetect_raid: add missing __init marking 2009-01-06 15:59:12 -08:00
do_mounts_rd.c Squashfs: initrd support 2009-01-05 08:46:28 +00:00
do_mounts.c async: Asynchronous function calls to speed up kernel boot 2009-01-07 08:45:46 -08:00
do_mounts.h
initramfs.c NOMMU: Support XIP on initramfs 2009-01-08 12:04:48 +00:00
Kconfig tracing/markers: make markers select tracepoints 2009-02-20 19:30:04 +01:00
main.c Merge commit 'v2.6.29-rc1' into tracing/urgent 2009-01-11 03:43:52 +01:00
Makefile
noinitramfs.c
version.c