perf tools: Remove callchain_cursor_reset call
authorJiri Olsa <[email protected]>
Mon, 10 Jun 2013 20:31:28 +0000 (16:31 -0400)
committerArnaldo Carvalho de Melo <[email protected]>
Fri, 12 Jul 2013 16:45:58 +0000 (13:45 -0300)
Removing callchain_cursor_reset call as it is called in subsequent
machine__resolve_callchain_sample function.

Signed-off-by: Jiri Olsa <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Corey Ashford <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/perf/util/machine.c

index b2ecad6ec46b1c87e9f2decc4b790cf497fa7933..93527afb09d5a663efb0bf82ec5daf0ed9914359 100644 (file)
@@ -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)