From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752093AbcFINbl (ORCPT ); Thu, 9 Jun 2016 09:31:41 -0400 Received: from mail.kernel.org ([198.145.29.136]:42931 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751895AbcFINbk (ORCPT ); Thu, 9 Jun 2016 09:31:40 -0400 Date: Thu, 9 Jun 2016 10:29:57 -0300 From: Arnaldo Carvalho de Melo To: Taeung Song Cc: linux-kernel@vger.kernel.org, Jiri Olsa , Namhyung Kim , Ingo Molnar , Peter Zijlstra , Alexander Shishkin , Masami Hiramatsu , Wang Nan , Jiri Olsa Subject: Re: [PATCH v8 2/5] perf config: Bring declarations about config from util/cache.h to util/config.h Message-ID: <20160609132957.GI11589@kernel.org> References: <1465389413-8936-1-git-send-email-treeze.taeung@gmail.com> <1465389413-8936-3-git-send-email-treeze.taeung@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1465389413-8936-3-git-send-email-treeze.taeung@gmail.com> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.6.1 (2016-04-27) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Wed, Jun 08, 2016 at 09:36:50PM +0900, Taeung Song escreveu: > Lately util/config.h has been added > but util/cache.h has declarations of functions > and extern variable for config features. > > To manage codes about configuration at one spot, move them > to util/config.h and util/cache.h include util/config.h > > Cc: Alexander Shishkin > Cc: Jiri Olsa > Cc: Masami Hiramatsu > Cc: Namhyung Kim > Cc: Wang Nan > Signed-off-by: Taeung Song > --- > tools/perf/util/cache.h | 13 +------------ > tools/perf/util/config.h | 12 ++++++++++++ > 2 files changed, 13 insertions(+), 12 deletions(-) > > diff --git a/tools/perf/util/cache.h b/tools/perf/util/cache.h > index 0d814bb..cd8cd4d 100644 > --- a/tools/perf/util/cache.h > +++ b/tools/perf/util/cache.h > @@ -7,6 +7,7 @@ > #include > #include "../perf.h" > #include "../ui/ui.h" > +#include "config.h" Why have you added that? Are those config functions used in cache.h? - Arnaldo