projects
/
deliverable
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SoW-2020-0003: Trace Hit Counters
[deliverable/lttng-tools.git]
/
doc
/
examples
/
map
/
tracepoint-incr-value-example.c
diff --git a/doc/examples/map/tracepoint-incr-value-example.c
b/doc/examples/map/tracepoint-incr-value-example.c
new file mode 100644
(file)
index 0000000..
e97c02d
--- /dev/null
+++ b/
doc/examples/map/tracepoint-incr-value-example.c
@@ -0,0
+1,10
@@
+/*
+ * Copyright (C) 2021 Francis Deslauriers <francis.deslauriers@efficios.com>
+ *
+ * SPDX-License-Identifier: MIT
+ *
+ */
+
+#define TRACEPOINT_DEFINE
+#define TRACEPOINT_CREATE_PROBES
+#include "tracepoint-incr-value-example.h"
This page took
0.038129 seconds
and
5
git commands to generate.