Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752071AbbLXCxC (ORCPT ); Wed, 23 Dec 2015 21:53:02 -0500 Received: from szxga01-in.huawei.com ([58.251.152.64]:4025 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750839AbbLXCxA (ORCPT ); Wed, 23 Dec 2015 21:53:00 -0500 Message-ID: <567B5DE2.9020900@huawei.com> Date: Thu, 24 Dec 2015 10:52:18 +0800 From: "Wangnan (F)" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Jiri Olsa , Arnaldo Carvalho de Melo CC: lkml , David Ahern , Ingo Molnar , Namhyung Kim , "Peter Zijlstra" , pi3orama , Subject: Re: [PATCH 0/5] tools build: Make FEATURE_DUMP include makefile References: <1450893514-9158-1-git-send-email-jolsa@kernel.org> In-Reply-To: <1450893514-9158-1-git-send-email-jolsa@kernel.org> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.111.66.109] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020204.567B5E08.00C4,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: fd9fec8b73184b7314d1ee8939421663 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1521 Lines: 51 On 2015/12/24 1:58, Jiri Olsa wrote: > hi, > Changing the contents of the FEATURE-DUMP file, > so it looks like: > > feature-backtrace=1 > feature-dwarf=0 > feature-fortify-source=1 > feature-sync-compare-and-swap=0 > > This way it could get included in sub projects, > so they won't be forced to redo features detection. > > changing bpf library to use that, so it's not forced > to rerun feature detection if compiled within perf. > > Also available in: > git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git > > thanks, > jirka Tested-by: Wang Nan For the whole patch set. Thank you. > > --- > Jiri Olsa (5): > tools build feature: Fix feature_check_display_code typo > tools build feature: Move dwarf post unwind choice output into perf > tools build feature: Introduce feature_ass macro > tools build feature: Use value assignment form for FEATURE-DUMP file > perf build: Use FEATURE-DUMP in bpf subproject > > tools/build/Makefile.feature | 41 +++++++++++++++++++++++++++-------------- > tools/lib/bpf/Makefile | 4 ++++ > tools/perf/Makefile.perf | 2 +- > tools/perf/config/Makefile | 4 ++++ > 4 files changed, 36 insertions(+), 15 deletions(-) -- 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/