linux/tools/perf/ui
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
..
browsers perf annotate browser: Fix segfault when drawing out-of-bounds jumps 2013-01-24 16:40:36 -03:00
gtk perf ui/gtk: Setup browser window early 2013-01-24 16:40:16 -03:00
stdio perf hists: Rename hists__fprintf_nr_events to events_stats__fprintf 2013-01-24 16:40:11 -03:00
tui perf ui/helpline: Introduce ui_helpline__vshow() 2012-12-09 08:46:04 -03:00
browser.c perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
browser.h perf annotate browser: Read perf config file for settings 2012-05-29 22:06:30 -03:00
helpline.c perf ui/helpline: Introduce ui_helpline__vshow() 2012-12-09 08:46:04 -03:00
helpline.h perf ui/helpline: Introduce ui_helpline__vshow() 2012-12-09 08:46:04 -03:00
hist.c perf diff: Remove displacement output option 2012-12-09 08:46:07 -03:00
keysyms.h perf tools: Move UI bits to tools/perf/ui directory 2012-04-11 17:16:40 -03:00
libslang.h perf tools: Move UI bits to tools/perf/ui directory 2012-04-11 17:16:40 -03:00
progress.c perf ui: Add ui_progress__finish() 2012-11-14 16:52:56 -03:00
progress.h perf ui: Add ui_progress__finish() 2012-11-14 16:52:56 -03:00
setup.c perf hists: Introduce perf_hpp__list for period related columns 2012-12-09 08:46:05 -03:00
ui.h perf ui: Always compile browser setup code 2012-11-14 16:53:03 -03:00
util.c perf evsel: Introduce perf_evsel__open_strerror method 2013-01-24 16:40:09 -03:00
util.h perf ui: Introduce struct perf_error_ops 2012-06-19 13:06:18 -03:00