X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Futils%2Ftestapp%2Fgen-ust-events-ns%2Ftp.c;fp=tests%2Futils%2Ftestapp%2Fgen-ust-events-ns%2Ftp.c;h=6f53414365a2ec65c0aa13cf810aa51b145c8a64;hp=0000000000000000000000000000000000000000;hb=8a5583046c46a5b424a8997fc563e7924f0c8724;hpb=f62a387121da010bde3f50b1276cb7c1139321d1 diff --git a/tests/utils/testapp/gen-ust-events-ns/tp.c b/tests/utils/testapp/gen-ust-events-ns/tp.c new file mode 100644 index 000000000..6f5341436 --- /dev/null +++ b/tests/utils/testapp/gen-ust-events-ns/tp.c @@ -0,0 +1,16 @@ +/* + * Copyright (c) - 2012 David Goulet + * + * THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED OR + * IMPLIED. ANY USE IS AT YOUR OWN RISK. + * + * Permission is hereby granted to use or copy this program for any purpose, + * provided the above notices are retained on all copies. Permission to modify + * the code and to distribute modified code is granted, provided the above + * notices are retained, and a notice that the code was modified is included + * with the above copyright notice. + */ + +#define _LGPL_SOURCE +#define TRACEPOINT_CREATE_PROBES +#include "tp.h"