aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorOleg Nesterov <[email protected]>2012-06-15 17:43:50 +0200
committerIngo Molnar <[email protected]>2012-06-16 09:10:47 +0200
commitd9c4a30e82614d43b55893a73f31e7284007ce82 (patch)
treeb877ed2338d27237e40b2587cdf9e6cd56fefe57 /tools/perf/scripts/python/check-perf-trace.py
parenteb2bf57bee42c7565032f93adaa211e2c9fcc52c (diff)
uprobes: Move BUG_ON(UPROBE_SWBP_INSN_SIZE) from write_opcode() to install_breakpoint()
write_opcode() ensures that UPROBE_SWBP_INSN doesn't cross the page boundary. This looks a bit confusing, the check does not depend on vaddr and it is enough to do it only once right after install_breakpoint()->arch_uprobe_analyze_insn(). Signed-off-by: Oleg Nesterov <[email protected]> Acked-by: Srikar Dronamraju <[email protected]> Acked-by: Ananth N Mavinakayanahalli <[email protected]> Cc: Anton Arapov <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions