Skip to content

Commit 290c749

Browse files
author
elsa
committed
feat: add some documentation
* README.md
1 parent d4a8ef3 commit 290c749

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,14 @@ options is not needed. The `-ldd_trace_cpp` option is always needed.
105105
c++ -o my_app my_app.o -L/path/to/dd-trace-cpp/.install/lib -ldd_trace_cpp
106106
```
107107

108+
### Optional: Trace to Profile correlation
109+
In order to correlate traces to profiles generated by the full host profiler[[1](https://github.com/DataDog/opentelemetry-ebpf-profiler), [2](https://github.com/DataDog/dd-otel-host-profiler)],
110+
there are a couple of requirements for the build:
111+
112+
[//]: # (TODO: add a link to the specification)
113+
- The app must be built on linux since the profiler leverages eBPF, a Linux kernel feature.
114+
- The compiler used for the build must support the `-mlts-dialect={gnu2/desc}` flag (GCC-11+ and Clang-19+).
115+
108116
Test
109117
----
110118
Pass `-DDD_TRACE_BUILD_TESTING=1` to `cmake` to include the unit tests in the build.

0 commit comments

Comments
 (0)