projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add trigger on event rule matches application example
[lttng-tools.git]
/
doc
/
examples
/
trigger-condition-event-matches
/
tracepoint-trigger-example.c
diff --git a/doc/examples/trigger-condition-event-matches/tracepoint-trigger-example.c
b/doc/examples/trigger-condition-event-matches/tracepoint-trigger-example.c
new file mode 100644
(file)
index 0000000..
3f781e3
--- /dev/null
+++ b/
doc/examples/trigger-condition-event-matches/tracepoint-trigger-example.c
@@ -0,0
+1,10
@@
+/*
+ * Copyright (C) 2020 Jérémie Galarneau <jeremie.galarneau@efficios.com>
+ *
+ * SPDX-License-Identifier: MIT
+ *
+ */
+
+#define TRACEPOINT_DEFINE
+#define TRACEPOINT_CREATE_PROBES
+#include "tracepoint-trigger-example.h"
This page took
0.025406 seconds
and
5
git commands to generate.