perf tools: Do backtrace post unwind only if we regs and stack were captured
authorJiri Olsa <jolsa@redhat.com>
Mon, 10 Sep 2012 16:50:16 +0000 (18:50 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 11 Sep 2012 15:01:15 +0000 (12:01 -0300)
commitbdde37163e1fd474509aab90f5eaacee46100107
treeb02af2b7904946f02ca30952f9d2ed0ca556611b
parent9ac3e487f0eeef0fa058d72da7681398cc052ee9
perf tools: Do backtrace post unwind only if we regs and stack were captured

Bail out without error if we want to do backtrace post unwind, but were
not able to capture user registers or user stack during the record
phase, which is possible and valid case.

Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1347295819-23177-2-git-send-email-jolsa@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/session.c