diff options
author | Eric W. Biederman <[email protected]> | 2021-05-02 14:27:24 -0500 |
---|---|---|
committer | Eric W. Biederman <[email protected]> | 2021-05-18 16:20:54 -0500 |
commit | af5eeab7e8e8c2f0fad10e4ab8cc8092012a2d5b (patch) | |
tree | 9e9cf468010ea32dcf474dea62e2d8a7ce8f5d23 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 9abcabe3111811aeae0f3a14e159b14248631875 (diff) |
signal: Factor force_sig_perf out of perf_sigtrap
Separate filling in siginfo for TRAP_PERF from deciding that
siginal needs to be sent.
There are enough little details that need to be correct when
properly filling in siginfo_t that it is easy to make mistakes
if filling in the siginfo_t is in the same function with other
logic. So factor out force_sig_perf to reduce the cognative
load of on reviewers, maintainers and implementors.
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]>
Acked-by: Peter Zijlstra (Intel) <[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