786388cabf4bd2c5a38c1592802ba324953523b8
[lttng-docs.git] / cxx-application.md
1 ---
2 id: cxx-application
3 ---
4
5 Because of C++'s cross-compatibility with the C language, C++
6 applications can be readily instrumented with the LTTng-UST C API.
7
8 Follow the [C application](#doc-c-application) user guide above. It
9 should be noted that, in this case, tracepoint providers should have
10 the typical `.cpp`, `.cxx` or `.cc` extension and be built with `g++`
11 instead of `gcc`. This is the easiest way of avoiding linking errors
12 due to symbol name mangling incompatibilities between both languages.
This page took 0.037079 seconds and 3 git commands to generate.