Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752728AbcC0Plg (ORCPT ); Sun, 27 Mar 2016 11:41:36 -0400 Received: from mail-pa0-f68.google.com ([209.85.220.68]:33378 "EHLO mail-pa0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752453AbcC0Ple (ORCPT ); Sun, 27 Mar 2016 11:41:34 -0400 Subject: Re: [PATCH] perf config: Tidy up the code setting buildid dir To: Jiri Olsa References: <1458805773-7630-1-git-send-email-treeze.taeung@gmail.com> <20160327111626.GB4015@krava.sund.root.ku.dk> Cc: Arnaldo Carvalho de Melo , linux-kernel@vger.kernel.org, Jiri Olsa , Namhyung Kim , Ingo Molnar , Peter Zijlstra , Wang Nan From: Taeung Song Message-ID: <56F7FF29.1040604@gmail.com> Date: Mon, 28 Mar 2016 00:41:29 +0900 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <20160327111626.GB4015@krava.sund.root.ku.dk> 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: 1059 Lines: 36 Hi, jirka Thank you for your review :-) On 03/27/2016 08:16 PM, Jiri Olsa wrote: > On Thu, Mar 24, 2016 at 04:49:33PM +0900, Taeung Song wrote: >> Add new perf_buildid_config() into perf_default_config, >> bring set_buildid_dir() next to perf_default_config, >> rename some variable name as more readable name and etc >> in order to clean up code about buildid dir. >> >> Cc: Jiri Olsa >> Cc: Namhyung Kim >> Cc: Wang Nan >> Signed-off-by: Taeung Song >> --- >> tools/perf/perf.c | 3 +-- >> tools/perf/util/config.c | 57 +++++++++++++++++++----------------------------- >> 2 files changed, 23 insertions(+), 37 deletions(-) > > though it's failry simple change we try to separate changes > > seems like 3 independent changes: > > - perf.c hunk change > - buildid_dir_command_config/perf_buildid_config rework > - set_buildid_dir fix > You mean it is needed to separate this patch as 3 part? I got it. I'll resend the patchset. Thanks, Taeung