X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=contents%2Fusing-lttng%2Finstrumenting%2Fc-application%2Flttng-gen-tp.md;h=ff1c06aec997bef78709b2264ca7a08fc3bfa07b;hb=47bfcb757a0192864b56d12d775f65dc8b180aaf;hp=9c07a6e147f8c4b177b1d1ff806f3c9ffdba88c2;hpb=b9eb413c78f288db3d07434bae6a8c54638b8692;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 9c07a6e..ff1c06a 100644 --- a/contents/using-lttng/instrumenting/c-application/lttng-gen-tp.md +++ b/contents/using-lttng/instrumenting/c-application/lttng-gen-tp.md @@ -10,7 +10,7 @@ source file or a precompiled object file) with its header file. `lttng-gen-tp` should suffice in [static linking](#doc-static-linking) situations. When using it, write a template file containing a list of -`TRACEPOINT_EVENT()` macro calls. The tool will find the provider names +`TRACEPOINT_EVENT()` macro calls. The tool finds the provider names used and generate the appropriate files which are going to look a lot like `tp.h` and `tp.c` above. @@ -20,7 +20,7 @@ Just call `lttng-gen-tp` like this: lttng-gen-tp my-template.tp -`my-template.c`, `my-template.o` and `my-template.h` will be created +`my-template.c`, `my-template.o` and `my-template.h` are created in the same directory. You may specify custom C flags passed to the compiler invoked by