aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-script.c
diff options
context:
space:
mode:
authorFrederik Deweerdt <[email protected]>2013-01-14 19:47:17 +0000
committerArnaldo Carvalho de Melo <[email protected]>2013-01-24 19:40:36 +0000
commit865c66c4183aab1d12522ca3ad3a3339d2437e5c (patch)
tree88c0059a6164b488b9d9d598faac8612fa925363 /tools/perf/builtin-script.c
parentperf tools: Move get_term_dimensions from top to util.c (diff)
downloadkernel-865c66c4183aab1d12522ca3ad3a3339d2437e5c.tar.gz
kernel-865c66c4183aab1d12522ca3ad3a3339d2437e5c.zip
perf annotate browser: Fix segfault when drawing out-of-bounds jumps
Factorize jump sanity checks from mark_jump_targets() and draw_current_jump() in an is_valid_jump() function. This fixes a segfault when moving the cursor over an invalid jump. Signed-off-by: Frederik Deweerdt <[email protected]> Cc: Namhyung Kim <[email protected]> Link: http://lkml.kernel.org/r/[email protected] [ committer note: Make it a disasm_line method ] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions