Skip to content
Commit 5d01890a authored by Pratyush Anand's avatar Pratyush Anand Committed by James Morse
Browse files

arm64: use hw_breakpoint_needs_single_step() to decide if step is needed



Currently we use is_default_overflow_handler() to decide whether a
"step" will be needed or not. However, is_default_overflow_handler() is
true only for perf implementation. There can be some custom kernel
module tests like samples/hw_breakpoint/data_breakpoint.c which can
rely on default step handler.

hw_breakpoint_needs_single_step() will be true if any hw_breakpoint user
wants to use default step handler and sets step_needed in hw_perf_event.

Signed-off-by: default avatarPratyush Anand <panand@redhat.com>
parent 162bbf20
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment