projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Create the lttng-gen-tp tools as an helper to generate UST .h and .c files
[lttng-ust.git]
/
tests
/
gen-tp
/
sample_tracepoint.tp
diff --git a/tests/gen-tp/sample_tracepoint.tp
b/tests/gen-tp/sample_tracepoint.tp
new file mode 100644
(file)
index 0000000..
fa7d18a
--- /dev/null
+++ b/
tests/gen-tp/sample_tracepoint.tp
@@ -0,0
+1,15
@@
+TRACEPOINT_EVENT(
+ sample_tracepoint,
+ message, // C++ Style comment
+ TP_ARGS(char *, text),
+ TP_FIELDS(
+ ctf_string(message, text)
+ )
+)
+/*
+ * Longer comments
+ */
+TRACEPOINT_LOGLEVEL(
+ sample_tracepoint,
+ message,
+ TRACE_WARNING)
This page took
0.023628 seconds
and
4
git commands to generate.