2 SPDX-FileCopyrightText: 2016 Sebastien Boisvert <sboisvert@gydle.com>
4 SPDX-License-Identifier: CC-BY-4.0
7 This examples shows how to use LTTng-UST in a project that uses
8 CMake as the build system generator.
10 Build the libraries and applications
20 3 shared libraries will be generated
25 libtracepoint-provider.so
29 and 2 executables will be generated
38 Trace the application tester
39 ============================
41 The script trace.sh can be used.
45 lttng enable-event -u 'gydle_om:*'
49 lttng view > trace.txt
53 The content of trace.txt should be:
56 [21:45:34.940246019] (+?.?????????) osiris gydle_om:align_query: { cpu_id = 2 }, { query_name = "moleculeX" }
57 [21:45:34.940263188] (+0.000017169) osiris gydle_om:test_alignment: { cpu_id = 2 }, { alignment = "my-alignment" }