From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933746AbdDGOYh (ORCPT ); Fri, 7 Apr 2017 10:24:37 -0400 Received: from mail-pg0-f67.google.com ([74.125.83.67]:35980 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755992AbdDGOY3 (ORCPT ); Fri, 7 Apr 2017 10:24:29 -0400 From: Taeung Song To: Arnaldo Carvalho de Melo Cc: linux-kernel@vger.kernel.org, Jiri Olsa , Namhyung Kim , Ingo Molnar , Peter Zijlstra , Wang Nan , Masami Hiramatsu , Taeung Song Subject: [PATCH 0/5] Refactoring with ltrim() and rtrim() Date: Fri, 7 Apr 2017 23:24:16 +0900 Message-Id: <1491575061-704-1-git-send-email-treeze.taeung@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, :) It is to simply refactor the code about stip strings with ltrim() and rtrim(). I'd appreciate some feedback on this PATCHset. Thanks, Taeung Taeung Song (5): perf annotate: Refactor the code to parse disassemble lines with {l,r}trim() perf stat: Refactor the code to strip csv output with ltrim() perf ui browser: Refactor the code to parse color configs with ltrim() perf pmu: Refactor wordwrap() with ltrim() perf tools: Refactor the code to strip command name with {l,r}trim() tools/perf/builtin-stat.c | 10 ++-------- tools/perf/ui/browser.c | 2 +- tools/perf/util/annotate.c | 49 ++++++++++------------------------------------ tools/perf/util/event.c | 11 ++--------- tools/perf/util/pmu.c | 3 +-- 5 files changed, 16 insertions(+), 59 deletions(-) -- 2.7.4