[ltt-dev] LTTng kernel integration roadmap, update
Sam Ravnborg
sam at ravnborg.org
Tue Nov 25 10:40:11 EST 2008
>
> Mathieu, if you're feeling keen I'd suggest that you just type `mkdir
> -p userspace/lttng' and build your userspace tools in there.
Maybe this can help...
Sam
diff --git a/usr/Makefile b/usr/Makefile
index 201f27f..627fafc 100644
--- a/usr/Makefile
+++ b/usr/Makefile
@@ -2,6 +2,8 @@
# kbuild file for usr/ - including initramfs image
#
+subdir-y := lttng
+
klibcdirs:;
PHONY += klibcdirs
diff --git a/usr/lttng/Makefile b/usr/lttng/Makefile
new file mode 100644
index 0000000..8667998
--- /dev/null
+++ b/usr/lttng/Makefile
@@ -0,0 +1,4 @@
+
+always := ltt
+
+hostprogs-y := ltt
diff --git a/usr/lttng/ltt.c b/usr/lttng/ltt.c
new file mode 100644
index 0000000..9eca2ed
--- /dev/null
+++ b/usr/lttng/ltt.c
@@ -0,0 +1,7 @@
+#include <stdio.h>
+
+int main(int ac, char *argv[])
+{
+ printf("lttng\n");
+ return 0;
+}
More information about the lttng-dev
mailing list