Commit-ID:  fa1531fdd7b6332aa61bcc9fda495583acba460d
Gitweb:     http://git.kernel.org/tip/fa1531fdd7b6332aa61bcc9fda495583acba460d
Author:     Jiri Olsa <jo...@redhat.com>
AuthorDate: Mon, 10 Jun 2013 16:31:28 -0400
Committer:  Arnaldo Carvalho de Melo <a...@redhat.com>
CommitDate: Fri, 12 Jul 2013 13:45:58 -0300

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 <jo...@redhat.com>
Cc: Andi Kleen <a...@linux.intel.com>
Cc: Corey Ashford <cjash...@linux.vnet.ibm.com>
Cc: David Ahern <dsah...@gmail.com>
Cc: Frederic Weisbecker <fweis...@gmail.com>
Cc: Ingo Molnar <mi...@elte.hu>
Cc: Namhyung Kim <namhy...@kernel.org>
Cc: Paul Mackerras <pau...@samba.org>
Cc: Peter Zijlstra <a.p.zijls...@chello.nl>
Link: http://lkml.kernel.org/n/tip-ic53wabwmmgvvwve2ymv3...@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <a...@redhat.com>
---
 tools/perf/util/machine.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/tools/perf/util/machine.c b/tools/perf/util/machine.c
index b2ecad6..93527af 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)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to