From: Namhyung Kim Date: Tue, 14 Jan 2014 05:25:34 +0000 (+0900) Subject: perf tools: Remove symbol_conf.use_callchain check X-Git-Tag: v3.14-rc1~171^2~1^2~3 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=540476de74c9b11403656791838ede91405d3859;p=karo-tx-linux.git perf tools: Remove symbol_conf.use_callchain check The machine__resolve_callchain() is called only if symbol_conf. use_callchain is set so no need to check it again. Signed-off-by: Namhyung Kim Cc: Andi Kleen Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Rodrigo Campos Link: http://lkml.kernel.org/r/1389677157-30513-2-git-send-email-namhyung@kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- diff --git a/tools/perf/util/machine.c b/tools/perf/util/machine.c index 0130279aac51..ded74590b92f 100644 --- a/tools/perf/util/machine.c +++ b/tools/perf/util/machine.c @@ -1314,8 +1314,6 @@ static int machine__resolve_callchain_sample(struct machine *machine, *root_al = al; callchain_cursor_reset(&callchain_cursor); } - if (!symbol_conf.use_callchain) - break; } err = callchain_cursor_append(&callchain_cursor,