Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751799Ab3FYRAH (ORCPT ); Tue, 25 Jun 2013 13:00:07 -0400 Received: from mail-pa0-f43.google.com ([209.85.220.43]:43554 "EHLO mail-pa0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751060Ab3FYRAF (ORCPT ); Tue, 25 Jun 2013 13:00:05 -0400 Message-ID: <51C9CC90.20906@gmail.com> Date: Tue, 25 Jun 2013 11:00:00 -0600 From: David Ahern User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: Jiri Olsa CC: linux-kernel@vger.kernel.org, Corey Ashford , Frederic Weisbecker , Ingo Molnar , Namhyung Kim , Paul Mackerras , Peter Zijlstra , Arnaldo Carvalho de Melo , Andi Kleen , Stephane Eranian Subject: Re: [PATCH 1/5] perf tools: Remove callchain_cursor_reset call References: <1372161253-22081-1-git-send-email-jolsa@redhat.com> <1372161253-22081-2-git-send-email-jolsa@redhat.com> In-Reply-To: <1372161253-22081-2-git-send-email-jolsa@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1472 Lines: 43 On 6/25/13 5:54 AM, Jiri Olsa wrote: > Removing callchain_cursor_reset call as it is called > in subsequent machine__resolve_callchain_sample > function. > > Signed-off-by: Jiri Olsa > Cc: Corey Ashford > Cc: Frederic Weisbecker > Cc: Ingo Molnar > Cc: Namhyung Kim > Cc: Paul Mackerras > Cc: Peter Zijlstra > Cc: Arnaldo Carvalho de Melo > Cc: Andi Kleen > Cc: David Ahern > Cc: Stephane Eranian > --- > 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) > I noticed this duplication as well. Acked-by: David Ahern -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/