Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759461AbbKTBd4 (ORCPT ); Thu, 19 Nov 2015 20:33:56 -0500 Received: from LGEAMRELO13.lge.com ([156.147.23.53]:50866 "EHLO lgeamrelo13.lge.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751533AbbKTBdz (ORCPT ); Thu, 19 Nov 2015 20:33:55 -0500 X-Original-SENDERIP: 156.147.1.151 X-Original-MAILFROM: namhyung@kernel.org X-Original-SENDERIP: 165.244.98.203 X-Original-MAILFROM: namhyung@kernel.org X-Original-SENDERIP: 10.177.227.17 X-Original-MAILFROM: namhyung@kernel.org Date: Fri, 20 Nov 2015 10:33:48 +0900 From: Namhyung Kim To: Arnaldo Carvalho de Melo CC: Ingo Molnar , Peter Zijlstra , Jiri Olsa , LKML , Brendan Gregg , David Ahern , Frederic Weisbecker , Andi Kleen , Kan Liang Subject: Re: [PATCH v5 2/9] perf callchain: Abstract callchain print function Message-ID: <20151120013348.GA23310@sejong> References: <1447047946-1691-1-git-send-email-namhyung@kernel.org> <1447047946-1691-4-git-send-email-namhyung@kernel.org> <20151119134132.GE22729@kernel.org> MIME-Version: 1.0 In-Reply-To: <20151119134132.GE22729@kernel.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-MIMETrack: Itemize by SMTP Server on LGEKRMHUB04/LGE/LG Group(Release 8.5.3FP3HF583 | August 9, 2013) at 2015/11/20 10:33:48, Serialize by Router on LGEKRMHUB04/LGE/LG Group(Release 8.5.3FP3HF583 | August 9, 2013) at 2015/11/20 10:33:48, Serialize complete at 2015/11/20 10:33:48 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1005 Lines: 28 Hi Arnaldo, On Thu, Nov 19, 2015 at 10:41:32AM -0300, Arnaldo Carvalho de Melo wrote: > Em Mon, Nov 09, 2015 at 02:45:39PM +0900, Namhyung Kim escreveu: > > This is a preparation to support for printing other type of callchain > > value like count or period. > > > > Acked-by: Brendan Gregg > > Signed-off-by: Namhyung Kim > > --- [SNIP] > > +char *callchain_node__sprintf_value(struct callchain_node *node, > > + char *bf, size_t bfsize, u64 total) > > sprintf doesn't require a bfsize, snprintf does, but we don't use that, > so renaming it to callchain_node__scnprintf_value() so that we recall > the semantic associated with this operation. OK, and thank you for doing this! Thanks, Namhyung -- 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/