linux/tools/perf/ui/browsers
Frederik Deweerdt 865c66c418 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 <frederik.deweerdt@xprog.eu>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/20130114194716.GA4973@ks398093.ip-192-95-24.net
[ committer note: Make it a disasm_line method ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2013-01-24 16:40:36 -03:00
..
annotate.c perf annotate browser: Fix segfault when drawing out-of-bounds jumps 2013-01-24 16:40:36 -03:00
hists.c perf hists: Introduce perf_hpp__list for period related columns 2012-12-09 08:46:05 -03:00
map.c perf tools: Move UI bits to tools/perf/ui directory 2012-04-11 17:16:40 -03:00
map.h perf tools: Move UI bits to tools/perf/ui directory 2012-04-11 17:16:40 -03:00
scripts.c perf scripts browser: Add a browser for perf script 2012-10-29 11:52:53 -02:00