[poky] [2.6.37 PATCH] wrs_meta: add systemtap feature for linux-yocto

Bruce Ashfield bruce.ashfield at gmail.com
Thu Jan 13 12:02:36 PST 2011


On Thu, Jan 13, 2011 at 2:55 PM, Tom Zanussi <tom.zanussi at intel.com> wrote:
> Add a 'systemtap feature' that turns on the kernel options required
> for systemtap, a system-wide tracing tool.

Looks good. I'll merge this and the .37 one and push them out
tomorrow.

Cheers,

Bruce

>
> Signed-off-by: Tom Zanussi <tom.zanussi at intel.com>
> ---
>  .../kernel-cache/features/systemtap/systemtap.cfg  |    7 +++++++
>  .../kernel-cache/features/systemtap/systemtap.scc  |    1 +
>  meta/cfg/kernel-cache/ktypes/standard/standard.scc |    3 +++
>  3 files changed, 11 insertions(+), 0 deletions(-)
>  create mode 100644 meta/cfg/kernel-cache/features/systemtap/systemtap.cfg
>  create mode 100644 meta/cfg/kernel-cache/features/systemtap/systemtap.scc
>
> diff --git a/meta/cfg/kernel-cache/features/systemtap/systemtap.cfg b/meta/cfg/kernel-cache/features/systemtap/systemtap.cfg
> new file mode 100644
> index 0000000..26a5fc3
> --- /dev/null
> +++ b/meta/cfg/kernel-cache/features/systemtap/systemtap.cfg
> @@ -0,0 +1,7 @@
> +CONFIG_KPROBES=y
> +CONFIG_RELAY=y
> +CONFIG_DEBUG_INFO=y
> +CONFIG_DEBUG_FS=y
> +CONFIG_MODULES=y
> +CONFIG_MODULE_UNLOAD=y
> +
> diff --git a/meta/cfg/kernel-cache/features/systemtap/systemtap.scc b/meta/cfg/kernel-cache/features/systemtap/systemtap.scc
> new file mode 100644
> index 0000000..9b8bd87
> --- /dev/null
> +++ b/meta/cfg/kernel-cache/features/systemtap/systemtap.scc
> @@ -0,0 +1 @@
> +kconf non-hardware systemtap.cfg
> diff --git a/meta/cfg/kernel-cache/ktypes/standard/standard.scc b/meta/cfg/kernel-cache/ktypes/standard/standard.scc
> index 8212465..f675bb6 100644
> --- a/meta/cfg/kernel-cache/ktypes/standard/standard.scc
> +++ b/meta/cfg/kernel-cache/ktypes/standard/standard.scc
> @@ -16,6 +16,9 @@ tag kgdb
>  # include features/lttng/lttng.scc
>  # tag lttng
>
> +include features/systemtap/systemtap.scc
> +tag systemtap
> +
>  # include features/ocd/ocd.scc
>  # tag ocd
>
> --
> 1.7.0.4
>
>
>
>



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"



More information about the poky mailing list