diff options
| author | Manuel Traut <manut@linutronix.de> | 2017-08-25 15:44:50 +0200 |
|---|---|---|
| committer | John Ogness <john.ogness@linutronix.de> | 2017-12-19 11:38:06 +0100 |
| commit | 4d5f8223acb7ab90af7fc4b8aa1c391838c1af21 (patch) | |
| tree | 63ee8b04ff3285c73832058fb064f883bdc15574 /application-devel/tracing/lttng-c/hello-tp.c | |
| parent | 77a4d59ce232c27b63068390401e723488630c3c (diff) | |
add a userspace tracing example
using lttng-ust, perf and tshark
traces can be shown in tracecompass
Signed-off-by: Manuel Traut <manut@linutronix.de>
Diffstat (limited to 'application-devel/tracing/lttng-c/hello-tp.c')
| -rw-r--r-- | application-devel/tracing/lttng-c/hello-tp.c | 4 |
1 files changed, 4 insertions, 0 deletions
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" |
