diff options
author | Eric W. Biederman <[email protected]> | 2021-04-30 17:29:36 -0500 |
---|---|---|
committer | Eric W. Biederman <[email protected]> | 2021-05-18 16:20:34 -0500 |
commit | 9abcabe3111811aeae0f3a14e159b14248631875 (patch) | |
tree | cc6f95ed83d9b4e161b29851b20eb6784bd34ce8 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | add0b32ef9146a8559a60aed54c37692a5f9d34f (diff) |
signal: Implement SIL_FAULT_TRAPNO
Now that si_trapno is part of the union in _si_fault and available on
all architectures, add SIL_FAULT_TRAPNO and update siginfo_layout to
return SIL_FAULT_TRAPNO when the code assumes si_trapno is valid.
There is room for future changes to reduce when si_trapno is valid but
this is all that is needed to make si_trapno and the other members of
the the union in _sigfault mutually exclusive.
Update the code that uses siginfo_layout to deal with SIL_FAULT_TRAPNO
and have the same code ignore si_trapno in in all other cases.
v1: https://lkml.kernel.org/r/[email protected]
v2: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Reviewed-by: Marco Elver <[email protected]>
Signed-off-by: "Eric W. Biederman" <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions