diff options
author | Will Deacon <will.deacon@arm.com> | 2018-08-14 18:24:54 +0300 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2018-09-14 19:46:24 +0300 |
commit | 8a60419d36762a1131c2b29f7bd14371db4df1b5 (patch) | |
tree | 26d51ae49c742f5e1d83eae8487009f270ac3896 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | b8925ee2e12d1cb9a11d6f28b5814f2bfa59dce1 (diff) | |
download | linux-8a60419d36762a1131c2b29f7bd14371db4df1b5.tar.xz |
arm64: force_signal_inject: WARN if called from kernel context
force_signal_inject() is designed to send a fatal signal to userspace,
so WARN if the current pt_regs indicates a kernel context. This can
currently happen for the undefined instruction trap, so patch that up so
we always BUG() if we didn't have a handler.
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions