diff options
author | Namhyung Kim <namhyung@kernel.org> | 2014-01-14 00:25:34 -0500 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2014-01-15 13:31:08 -0500 |
commit | 540476de74c9b11403656791838ede91405d3859 (patch) | |
tree | 0a5a1ae7671c4fca9e55e30c8d97a62f57f25b4f /tools | |
parent | a8a5cd8b472ca20e5b8fa649c43b3756867322f8 (diff) |
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 <namhyung@kernel.org>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung.kim@lge.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Rodrigo Campos <rodrigo@sdfg.com.ar>
Link: http://lkml.kernel.org/r/1389677157-30513-2-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/perf/util/machine.c | 2 |
1 files changed, 0 insertions, 2 deletions
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, | |||
1314 | *root_al = al; | 1314 | *root_al = al; |
1315 | callchain_cursor_reset(&callchain_cursor); | 1315 | callchain_cursor_reset(&callchain_cursor); |
1316 | } | 1316 | } |
1317 | if (!symbol_conf.use_callchain) | ||
1318 | break; | ||
1319 | } | 1317 | } |
1320 | 1318 | ||
1321 | err = callchain_cursor_append(&callchain_cursor, | 1319 | err = callchain_cursor_append(&callchain_cursor, |