[ltt-dev] LTTng kernel integration roadmap, update
Mathieu Desnoyers
compudj at krystal.dyndns.org
Fri Nov 28 07:56:02 EST 2008
* Sam Ravnborg (sam at ravnborg.org) wrote:
> >
> > 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...
>
Hi Sam,
Thanks for the code snipped, I'll start from there for my kernel-tree
integrated userspace tools when I come back from travelling around
Europe.
Mathieu
> 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;
> +}
>
> _______________________________________________
> ltt-dev mailing list
> ltt-dev at lists.casi.polymtl.ca
> http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
>
--
Mathieu Desnoyers
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68
More information about the lttng-dev
mailing list