aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorRabin Vincent <[email protected]>2012-07-04 06:37:37 +0000
committerRussell King <[email protected]>2012-07-05 11:57:16 +0000
commitf8b435bb918412c9410da4c4b0b02b6b3d99b27c (patch)
tree437a95d7a2b25659172cb4353b1511152e216a1c /tools/perf/util/trace-event-scripting.c
parentARM: 7441/1: perf: return -EOPNOTSUPP if requested mode exclusion is unavailable (diff)
downloadkernel-f8b435bb918412c9410da4c4b0b02b6b3d99b27c.tar.gz
kernel-f8b435bb918412c9410da4c4b0b02b6b3d99b27c.zip
ARM: 7440/1: kprobes: only test 'sub pc, pc, #1b-2b+8-2' on ARMv6
'sub pc, pc, #1b-2b+8-2' results in address<1:0> == '10'. sub pc, pc, #const (== ADR pc, #const) performs an interworking branch (BXWritePC()) on ARMv7+ and a simple branch (BranchWritePC()) on earlier versions. In ARM state, BXWritePC() is UNPREDICTABLE when address<1:0> == '10'. In ARM state on ARMv6+, BranchWritePC() ignores address<1:0>. Before ARMv6, BranchWritePC() is UNPREDICTABLE if address<1:0> != '00' So the instruction is UNPREDICTABLE both before and after v6. Acked-by: Jon Medhurst <[email protected]> Signed-off-by: Rabin Vincent <[email protected]> Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions