summaryrefslogtreecommitdiffstats
path: root/tools/perf
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@redhat.com>2013-06-10 22:31:28 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2013-07-12 18:45:58 +0200
commitfa1531fdd7b6332aa61bcc9fda495583acba460d (patch)
treed4b0f13994667d8c1d0c24877be8986e103b02d5 /tools/perf
parentperf tools: Add methods for setting/retrieving priv element of thread struct (diff)
downloadlinux-fa1531fdd7b6332aa61bcc9fda495583acba460d.tar.xz
linux-fa1531fdd7b6332aa61bcc9fda495583acba460d.zip
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 <jolsa@redhat.com> Cc: Andi Kleen <ak@linux.intel.com> Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com> Cc: David Ahern <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/n/tip-ic53wabwmmgvvwve2ymv3yf7@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf')
-rw-r--r--tools/perf/util/machine.c2
1 files changed, 0 insertions, 2 deletions
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)