diff options
author | 2022-01-24 12:12:43 -0500 | |
---|---|---|
committer | 2022-02-02 13:11:35 +0100 | |
commit | e546cd48ccc456074ddb8920732aef4af65d7ca7 (patch) | |
tree | e9ca24ec796e1635c74982918b875776e19c5aee /tools/perf/scripts/python/export-to-postgresql.py | |
parent | selftests/rseq: Remove volatile from __rseq_abi (diff) | |
download | linux-dev-e546cd48ccc456074ddb8920732aef4af65d7ca7.tar.xz linux-dev-e546cd48ccc456074ddb8920732aef4af65d7ca7.zip |
selftests/rseq: Introduce rseq_get_abi() helper
This is done in preparation for the selftest uplift to become compatible
with glibc-2.35.
glibc-2.35 exposes the rseq per-thread data in the TCB, accessible
at an offset from the thread pointer, rather than through an actual
Thread-Local Storage (TLS) variable, as the kernel selftests initially
expected.
Introduce a rseq_get_abi() helper, initially using the __rseq_abi
TLS variable, in preparation for changing this userspace ABI for one
which is compatible with glibc-2.35.
Note that the __rseq_abi TLS and glibc-2.35's ABI for per-thread data
cannot actively coexist in a process, because the kernel supports only
a single rseq registration per thread.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20220124171253.22072-6-mathieu.desnoyers@efficios.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions