* [KERNEL][PATCH] add utrace feature
@ 2011-06-13 14:35 tom.zanussi
2011-06-13 14:35 ` [KERNEL][PATCH] meta: add utrace feature for linux-yocto tom.zanussi
0 siblings, 1 reply; 2+ messages in thread
From: tom.zanussi @ 2011-06-13 14:35 UTC (permalink / raw)
To: yocto
From: Tom Zanussi <tom.zanussi@intel.com>
This adds a utrace feature, in support of userspace tracing for systemtap.
It's been tested on actual x86 and x86-64 hardware, as well as qemux86-64
and qemuppc (utrace doesn't currently have support for arm or mips).
A couple examples with output have been added to the systemtap entry in
the tracing and profiling section of the Yocto wiki:
https://wiki.yoctoproject.org/wiki/Tracing_and_Profiling#systemtap
Please pull into the meta branch of linux-yocto.
Tom Zanussi (1):
meta: add utrace feature for linux-yocto
meta/cfg/kernel-cache/features/utrace/utrace.cfg | 1 +
meta/cfg/kernel-cache/features/utrace/utrace.scc | 2 ++
meta/cfg/kernel-cache/ktypes/standard/standard.scc | 3 +++
3 files changed, 6 insertions(+), 0 deletions(-)
create mode 100644 meta/cfg/kernel-cache/features/utrace/utrace.cfg
create mode 100644 meta/cfg/kernel-cache/features/utrace/utrace.scc
^ permalink raw reply [flat|nested] 2+ messages in thread
* [KERNEL][PATCH] meta: add utrace feature for linux-yocto
2011-06-13 14:35 [KERNEL][PATCH] add utrace feature tom.zanussi
@ 2011-06-13 14:35 ` tom.zanussi
0 siblings, 0 replies; 2+ messages in thread
From: tom.zanussi @ 2011-06-13 14:35 UTC (permalink / raw)
To: yocto
From: Tom Zanussi <tom.zanussi@intel.com>
Add a 'utrace feature' that turns on the kernel options required
for utrace, used mainly to enable userspace tracing for systemtap.
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
---
meta/cfg/kernel-cache/features/utrace/utrace.cfg | 1 +
meta/cfg/kernel-cache/features/utrace/utrace.scc | 2 ++
meta/cfg/kernel-cache/ktypes/standard/standard.scc | 3 +++
3 files changed, 6 insertions(+), 0 deletions(-)
create mode 100644 meta/cfg/kernel-cache/features/utrace/utrace.cfg
create mode 100644 meta/cfg/kernel-cache/features/utrace/utrace.scc
diff --git a/meta/cfg/kernel-cache/features/utrace/utrace.cfg b/meta/cfg/kernel-cache/features/utrace/utrace.cfg
new file mode 100644
index 0000000..bf85aa2
--- /dev/null
+++ b/meta/cfg/kernel-cache/features/utrace/utrace.cfg
@@ -0,0 +1 @@
+CONFIG_UTRACE=y
diff --git a/meta/cfg/kernel-cache/features/utrace/utrace.scc b/meta/cfg/kernel-cache/features/utrace/utrace.scc
new file mode 100644
index 0000000..0cab7d9
--- /dev/null
+++ b/meta/cfg/kernel-cache/features/utrace/utrace.scc
@@ -0,0 +1,2 @@
+kconf non-hardware utrace.cfg
+
diff --git a/meta/cfg/kernel-cache/ktypes/standard/standard.scc b/meta/cfg/kernel-cache/ktypes/standard/standard.scc
index 290c50a..ac80038 100644
--- a/meta/cfg/kernel-cache/ktypes/standard/standard.scc
+++ b/meta/cfg/kernel-cache/ktypes/standard/standard.scc
@@ -17,6 +17,9 @@ tag lttng
include features/systemtap/systemtap.scc
# tag systemtap
+include features/utrace/utrace.scc
+# tag utrace
+
include arch/arm/arm.scc
tag arm
--
1.7.0.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-06-13 14:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-13 14:35 [KERNEL][PATCH] add utrace feature tom.zanussi
2011-06-13 14:35 ` [KERNEL][PATCH] meta: add utrace feature for linux-yocto tom.zanussi
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.