Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933959AbdDGXpZ (ORCPT ); Fri, 7 Apr 2017 19:45:25 -0400 Received: from mail-pg0-f48.google.com ([74.125.83.48]:34437 "EHLO mail-pg0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753315AbdDGXpO (ORCPT ); Fri, 7 Apr 2017 19:45:14 -0400 Subject: Re: [PATCH 2/5] perf stat: Refactor the code to strip csv output with ltrim() To: Arnaldo Carvalho de Melo References: <1491575061-704-1-git-send-email-treeze.taeung@gmail.com> <1491575061-704-3-git-send-email-treeze.taeung@gmail.com> <20170407150601.GF2966@kernel.org> Cc: linux-kernel@vger.kernel.org, Jiri Olsa , Namhyung Kim , Ingo Molnar , Peter Zijlstra , Wang Nan , Masami Hiramatsu , Andi Kleen From: Taeung Song Message-ID: Date: Sat, 8 Apr 2017 08:45:09 +0900 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <20170407150601.GF2966@kernel.org> Content-Type: text/plain; charset=windows-1252; 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: 270 Lines: 11 On 04/08/2017 12:06 AM, Arnaldo Carvalho de Melo wrote: > Em Fri, Apr 07, 2017 at 11:24:18PM +0900, Taeung Song escreveu: >> To strip csv output, use ltrim() instead of >> just while loop and isspace() at print_metric_{only}_csv(). > > Applied. Thank you! - Taeung