From: Jiri Olsa Date: Mon, 10 Jun 2013 20:31:28 +0000 (-0400) Subject: perf tools: Remove callchain_cursor_reset call X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fa1531fdd7b6332aa61bcc9fda495583acba460d;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git perf tools: Remove callchain_cursor_reset call Removing callchain_cursor_reset call as it is called in subsequent machine__resolve_callchain_sample function. Signed-off-by: Jiri Olsa Cc: Andi Kleen Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Link: http://lkml.kernel.org/n/tip-ic53wabwmmgvvwve2ymv3yf7@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- diff --git a/tools/perf/util/machine.c b/tools/perf/util/machine.c index b2ecad6ec46b..93527afb09d5 100644 --- a/tools/perf/util/machine.c +++ b/tools/perf/util/machine.c @@ -1242,8 +1242,6 @@ int machine__resolve_callchain(struct machine *machine, { int ret; - callchain_cursor_reset(&callchain_cursor); - ret = machine__resolve_callchain_sample(machine, thread, sample->callchain, parent); if (ret)