From 4d5f8223acb7ab90af7fc4b8aa1c391838c1af21 Mon Sep 17 00:00:00 2001 From: Manuel Traut Date: Fri, 25 Aug 2017 15:44:50 +0200 Subject: add a userspace tracing example using lttng-ust, perf and tshark traces can be shown in tracecompass Signed-off-by: Manuel Traut --- application-devel/tracing/lttng-c/hello-tp.c | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 application-devel/tracing/lttng-c/hello-tp.c (limited to 'application-devel/tracing/lttng-c/hello-tp.c') diff --git a/application-devel/tracing/lttng-c/hello-tp.c b/application-devel/tracing/lttng-c/hello-tp.c new file mode 100644 index 0000000..e81db08 --- /dev/null +++ b/application-devel/tracing/lttng-c/hello-tp.c @@ -0,0 +1,4 @@ +#define TRACEPOINT_CREATE_PROBES +#define TRACEPOINT_DEFINE + +#include "hello-tp.h" -- cgit v1.2.3