X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=contents%2Fusing-lttng%2Finstrumenting%2Fc-application%2Flttng-gen-tp.md;fp=contents%2Fusing-lttng%2Finstrumenting%2Fc-application%2Flttng-gen-tp.md;h=9c07a6e147f8c4b177b1d1ff806f3c9ffdba88c2;hb=da2f357477f0ecde16e04dda659f7009904d1cb6;hp=78f4dfa555fc9bc3b6457ac79ddf5e09e37fa19b;hpb=f7929219c75d63ee7c6d6185f0a3ebc223438aa0;p=lttng-docs.git 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 78f4dfa..9c07a6e 100644 --- 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. +You may specify custom C flags passed to the compiler invoked by +`lttng-gen-tp` using the `CFLAGS` environment variable: + +
+CFLAGS=-I/custom/include/path lttng-gen-tp my-template.tp
+
+ For more information on `lttng-gen-tp`, see its manpage.