KConfig issues
Deepak Saxena <[email protected]>
| Newsgroups | gmane.linux.kernel.tracing |
|---|---|
| Organization | Plexity Networks |
| Message-ID | <[email protected]> |
I'm working on some scripts to automate building and testing of lttng and running into some issues with my config setting sticking. Basically, I run menuconfig and configure every LTTng component that can be modularized to be so: CONFIG_MARKERS=y CONFIG_LTT=y CONFIG_LTT_TRACER=m CONFIG_LTT_RELAY=m CONFIG_LTT_ALIGNMENT=y # CONFIG_LTT_HEARTBEAT is not set CONFIG_LTT_USERSPACE_GENERIC=y CONFIG_LTT_NETLINK_CONTROL=m CONFIG_LTT_STATEDUMP=m CONFIG_LTT_PROBES=y CONFIG_LTT_PROBE_FS=m CONFIG_LTT_PROBE_IPC=m CONFIG_LTT_PROBE_KERNEL=m CONFIG_LTT_PROBE_ARCH=m CONFIG_LTT_PROBE_MM=m CONFIG_LTT_PROBE_NET=m CONFIG_LTT_PROBE_LIST=m CONFIG_LTT_FACILITY_FS=m CONFIG_LTT_FACILITY_FS_DATA=m CONFIG_LTT_FACILITY_IPC=m CONFIG_LTT_FACILITY_KERNEL=m CONFIG_LTT_FACILITY_KERNEL_ARCH=m CONFIG_LTT_FACILITY_MEMORY=m CONFIG_LTT_FACILITY_NETWORK=m CONFIG_LTT_FACILITY_NETWORK_IP_INTERFACE=m CONFIG_LTT_FACILITY_PROCESS=m CONFIG_LTT_FACILITY_SOCKET=m CONFIG_LTT_FACILITY_STATEDUMP=m CONFIG_LTT_FACILITY_TIMER=m I can vi the .config and see that this is how everything is set. Now, if I run menuconfig and go down to LTT, these settings change w/o me touching them, and the same happens if I run make oldconfig: --- .config 2006-12-15 10:27:35.000000000 -0800 +++ config-old 2006-12-15 10:25:55.000000000 -0800 @@ -1035,13 +1035,13 @@ CONFIG_MARKERS=y CONFIG_LTT=y -CONFIG_LTT_TRACER=y +CONFIG_LTT_TRACER=m CONFIG_LTT_RELAY=m CONFIG_LTT_ALIGNMENT=y # CONFIG_LTT_HEARTBEAT is not set CONFIG_LTT_USERSPACE_GENERIC=y CONFIG_LTT_NETLINK_CONTROL=m -CONFIG_LTT_STATEDUMP=y +CONFIG_LTT_STATEDUMP=m # # Probes @@ -1053,7 +1053,7 @@ CONFIG_LTT_PROBE_ARCH=m CONFIG_LTT_PROBE_MM=m CONFIG_LTT_PROBE_NET=m -CONFIG_LTT_PROBE_LIST=y +CONFIG_LTT_PROBE_LIST=m # # Event types @@ -1068,7 +1068,7 @@ CONFIG_LTT_FACILITY_NETWORK_IP_INTERFACE=m CONFIG_LTT_FACILITY_PROCESS=m CONFIG_LTT_FACILITY_SOCKET=m -CONFIG_LTT_FACILITY_STATEDUMP=y +CONFIG_LTT_FACILITY_STATEDUMP=m CONFIG_LTT_FACILITY_TIMER=m I've looked at ltt/kconfig and I can't see what dependency would cause this to happen and also tried to change the defaults for ltt_tracer to m but that doesn't seem to solve the problem. Mathieu, is there some depedency I'm not seeing that I need to force to 'm' for the above LTT options to be modularized? Tnx, ~Deepak -- Deepak Saxena - [email protected] - http://www.plexity.net The terrorist and the policeman both come from the same basket. -- Joseph Conrad, The Secret Agent