From da2f357477f0ecde16e04dda659f7009904d1cb6 Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Fri, 17 Oct 2014 23:15:50 -0400 Subject: [PATCH] lttng-gen-tp: document CFLAGS env. variable Signed-off-by: Philippe Proulx --- .../instrumenting/c-application/lttng-gen-tp.md | 7 +++++++ 1 file changed, 7 insertions(+) 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. -- 2.34.1