Commit | Line | Data |
---|---|---|
1 | <!-- | |
2 | SPDX-FileCopyrightText: 2014 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> | |
3 | ||
4 | SPDX-License-Identifier: CC-BY-4.0 | |
5 | --> | |
6 | ||
7 | This getcpu override example shows how to implement and load a getcpu | |
8 | override plugin for LTTng-UST. This can be useful in cases where direct | |
9 | hardware access is available for architecture-specific registers holding | |
10 | the CPU number, and where it should be used rather than the Linux kernel | |
11 | sched_getcpu() vDSO/syscall. |