diff options
author | James Morse <[email protected]> | 2019-10-25 17:42:10 +0100 |
---|---|---|
committer | Catalin Marinas <[email protected]> | 2019-10-28 11:22:38 +0000 |
commit | b6e43c0e3129ffe87e65c85f20fcbdf0eb86fba0 (patch) | |
tree | 755ace4104901aadc6da5a3a1a557394932d575f /tools/perf/scripts/python | |
parent | 4f5cafb5cb8471e54afdc9054d973535614f7675 (diff) |
arm64: remove __exception annotations
Since commit 732674980139 ("arm64: unwind: reference pt_regs via embedded
stack frame") arm64 has not used the __exception annotation to dump
the pt_regs during stack tracing. in_exception_text() has no callers.
This annotation is only used to blacklist kprobes, it means the same as
__kprobes.
Section annotations like this require the functions to be grouped
together between the start/end markers, and placed according to
the linker script. For kprobes we also have NOKPROBE_SYMBOL() which
logs the symbol address in a section that kprobes parses and
blacklists at boot.
Using NOKPROBE_SYMBOL() instead lets kprobes publish the list of
blacklisted symbols, and saves us from having an arm64 specific
spelling of __kprobes.
do_debug_exception() already has a NOKPROBE_SYMBOL() annotation.
Signed-off-by: James Morse <[email protected]>
Acked-by: Mark Rutland <[email protected]>
Acked-by: Masami Hiramatsu <[email protected]>
Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions