projects
/
lttng-docs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lttng-gen-tp: document CFLAGS env. variable
[lttng-docs.git]
/
contents
/
using-lttng
/
instrumenting
/
c-application
/
lttng-gen-tp.md
diff --git
a/contents/using-lttng/instrumenting/c-application/lttng-gen-tp.md
b/contents/using-lttng/instrumenting/c-application/lttng-gen-tp.md
index 78f4dfa555fc9bc3b6457ac79ddf5e09e37fa19b..9c07a6e147f8c4b177b1d1ff806f3c9ffdba88c2 100644
(file)
--- a/
contents/using-lttng/instrumenting/c-application/lttng-gen-tp.md
+++ b/
contents/using-lttng/instrumenting/c-application/lttng-gen-tp.md
@@
-23,5
+23,12
@@
lttng-gen-tp my-template.tp
`my-template.c`, `my-template.o` and `my-template.h` will be created
in the same directory.
`my-template.c`, `my-template.o` and `my-template.h` will be created
in the same directory.
+You may specify custom C flags passed to the compiler invoked by
+`lttng-gen-tp` using the `CFLAGS` environment variable:
+
+<pre class="term">
+CFLAGS=-I/custom/include/path lttng-gen-tp my-template.tp
+</pre>
+
For more information on `lttng-gen-tp`, see
<a href="/man/1/lttng-gen-tp" class="ext">its manpage</a>.
For more information on `lttng-gen-tp`, see
<a href="/man/1/lttng-gen-tp" class="ext">its manpage</a>.
This page took
0.024463 seconds
and
4
git commands to generate.