From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4550F1A0085 for ; Fri, 23 May 2014 03:10:17 +1000 (EST) Received: from e9.ny.us.ibm.com (e9.ny.us.ibm.com [32.97.182.139]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 6B1E0140081 for ; Fri, 23 May 2014 03:10:16 +1000 (EST) Received: from /spool/local by e9.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 22 May 2014 13:10:12 -0400 Received: from b01cxnp23033.gho.pok.ibm.com (b01cxnp23033.gho.pok.ibm.com [9.57.198.28]) by d01dlp01.pok.ibm.com (Postfix) with ESMTP id A45F238C805E for ; Thu, 22 May 2014 13:10:09 -0400 (EDT) Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64]) by b01cxnp23033.gho.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id s4MHA9BB3015042 for ; Thu, 22 May 2014 17:10:09 GMT Received: from d01av04.pok.ibm.com (localhost [127.0.0.1]) by d01av04.pok.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s4MHA86i009522 for ; Thu, 22 May 2014 13:10:09 -0400 Date: Thu, 22 May 2014 10:09:55 -0700 From: Sukadev Bhattiprolu To: Jiri Olsa Subject: Re: [PATCH 1/1] powerpc/perf: Adjust callchain based on DWARF debug Message-ID: <20140522170955.GB6318@us.ibm.com> References: <20140521012644.GA2890@us.ibm.com> <20140522100045.GA4789@krava.brq.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20140522100045.GA4789@krava.brq.redhat.com> Cc: linuxppc-dev@ozlabs.org, Anton Blanchard , linux-kernel@vger.kernel.org, Arnaldo Carvalho de Melo , michael@ellerman.id.au, Ulrich.Weigand@de.ibm.com, Maynard Johnson List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Jiri Olsa [jolsa@redhat.com] wrote: | | yep, that sounds more clear to me.. something like below? | | calling callchain_dup from within arch_adjust_callchain in case | you want to change it and returning != 0 in this case, so | we could free the new callchain Agree. | | but it might be to much overhead in case you have the support to skip | just one entry now right? is there a plan for more cleaning? ;) Its only one entry AFACIT. No plans for other changes, so will rename the function as you mention in the other message and will resend. Thanks, Sukadev