aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorEric W. Biederman <[email protected]>2021-05-04 16:25:22 +0000
committerEric W. Biederman <[email protected]>2021-07-23 18:15:31 +0000
commit50ae81305c7a3ee802f0a1988503ce913c79cd6e (patch)
tree8564c815a010b129d6af244f1570ad55f763757f /tools/perf/scripts/python/intel-pt-events.py
parentsignal: Remove the generic __ARCH_SI_TRAPNO support (diff)
downloadkernel-50ae81305c7a3ee802f0a1988503ce913c79cd6e.tar.gz
kernel-50ae81305c7a3ee802f0a1988503ce913c79cd6e.zip
signal: Verify the alignment and size of siginfo_t
Update the static assertions about siginfo_t to also describe it's alignment and size. While investigating if it was possible to add a 64bit field into siginfo_t[1] it became apparent that the alignment of siginfo_t is as much a part of the ABI as the size of the structure. If the alignment changes siginfo_t when embedded in another structure can move to a different offset. Which is not acceptable from an ABI structure. So document that fact and add static assertions to notify developers if they change change the alignment by accident. [1] https://lkml.kernel.org/r/[email protected] Acked-by: Marco Elver <[email protected]> v1: https://lkml.kernel.org/r/[email protected] Link: https://lkml.kernel.org/r/875yxaxmyl.fsf_-_@disp2133 Signed-off-by: "Eric W. Biederman" <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions