Commit | Line | Data |
---|---|---|
5e0cbfb0 PP |
1 | --- |
2 | id: running-32-bit-and-64-bit-c-applications | |
3 | --- | |
4 | ||
5 | Now, both 32-bit and 64-bit versions of the _Hello world_ example above | |
6 | can be traced in the same tracing session. Use the `lttng` tool as usual | |
7 | to create a tracing session and start tracing: | |
8 | ||
9 | <pre class="term"> | |
10 | lttng create session-3264 | |
11 | lttng enable-event -u -a | |
12 | ./hello32 | |
13 | ./hello64 | |
14 | lttng stop | |
15 | </pre> | |
16 | ||
17 | Use `lttng view` to verify both processes were | |
18 | successfully traced. |