| 1 | <!-- |
| 2 | SPDX-FileCopyrightText: 2014 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> |
| 3 | |
| 4 | SPDX-License-Identifier: CC-BY-4.0 |
| 5 | --> |
| 6 | |
| 7 | This clock override example shows how to implement and load a clock |
| 8 | override plugin for LTTng-UST. This can be useful in cases where direct |
| 9 | hardware access is available for architecture-specific clocks, and where |
| 10 | it should be used rather than the Linux kernel Monotonic clock. |
| 11 | |
| 12 | When using LTTng-tools keep in mind that lttng-sessiond uses lttng-ust's clock |
| 13 | definition and functions. Thus `LTTNG_UST_CLOCK_PLUGIN` needs to be defined |
| 14 | when launching lttng-sessiond. |