diff options
| author | Eric W. Biederman <[email protected]> | 2021-05-28 19:15:51 +0000 |
|---|---|---|
| committer | Eric W. Biederman <[email protected]> | 2021-07-23 18:10:26 +0000 |
| commit | 7de5f68d497cbc700c4a28cc037dd61f00e452e8 (patch) | |
| tree | 9ab406f6c94729607482c75caf211097e1a0a25d /tools/perf/scripts/python/intel-pt-events.py | |
| parent | signal/sparc: si_trapno is only used with SIGILL ILL_ILLTRP (diff) | |
| download | kernel-7de5f68d497cbc700c4a28cc037dd61f00e452e8.tar.gz kernel-7de5f68d497cbc700c4a28cc037dd61f00e452e8.zip | |
signal/alpha: si_trapno is only used with SIGFPE and SIGTRAP TRAP_UNK
While reviewing the signal handlers on alpha it became clear that
si_trapno is only set to a non-zero value when sending SIGFPE and when
sending SITGRAP with si_code TRAP_UNK.
Add send_sig_fault_trapno and send SIGTRAP TRAP_UNK, and SIGFPE with it.
Remove the define of __ARCH_SI_TRAPNO and remove the always zero
si_trapno parameter from send_sig_fault and force_sig_fault.
v1: https://lkml.kernel.org/r/[email protected]
v2: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/87h7gvxx7l.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
