From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932764AbcAMJT0 (ORCPT ); Wed, 13 Jan 2016 04:19:26 -0500 Received: from mx1.redhat.com ([209.132.183.28]:41217 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932077AbcAMJTW (ORCPT ); Wed, 13 Jan 2016 04:19:22 -0500 Date: Wed, 13 Jan 2016 10:19:13 +0100 From: Jiri Olsa To: "Wangnan (F)" Cc: Jiri Olsa , Arnaldo Carvalho de Melo , lkml , David Ahern , Ingo Molnar , Namhyung Kim , Peter Zijlstra Subject: Re: [RFC 6/6] perf build: Introduce FEATURES_DUMP make variable Message-ID: <20160113091913.GA4487@krava.brq.redhat.com> References: <1452509693-13452-1-git-send-email-jolsa@kernel.org> <1452509693-13452-7-git-send-email-jolsa@kernel.org> <5694C73C.3070007@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5694C73C.3070007@huawei.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 12, 2016 at 05:28:28PM +0800, Wangnan (F) wrote: SNIP > For example: > > $ make feature-dump LDFLAGS="-static" > BUILD: Doing 'make -j24' parallel build > > Auto-detecting system features: > > ... zlib: [ on ] > ... lzma: [ OFF ] <--- looks good. I don't have > static lzma library > ... get_cpuid: [ on ] > ... bpf: [ on ] > > > $ make feature-dump > BUILD: Doing 'make -j24' parallel build > > Auto-detecting system features: > > ... zlib: [ on ] > ... lzma: [ on ] <--- also good > ... get_cpuid: [ on ] > ... bpf: [ on ] > > > $ make feature-dump LDFLAGS="-static" > BUILD: Doing 'make -j24' parallel build > > Auto-detecting system features: > > ... zlib: [ on ] > ... lzma: [ on ] <--- Bad... > ... get_cpuid: [ on ] > ... bpf: [ on ] > > Thank you. right, it's because feature is not under build framework and compilation does not care about flags change.. I'll try to check on that.. does this patch help to improve the current speed or do you need to solve this to get substantial speedup? thanks, jirka