Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753971AbaBTIaz (ORCPT ); Thu, 20 Feb 2014 03:30:55 -0500 Received: from mx1.redhat.com ([209.132.183.28]:64590 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753832AbaBTIav (ORCPT ); Thu, 20 Feb 2014 03:30:51 -0500 Date: Thu, 20 Feb 2014 09:30:20 +0100 From: Jiri Olsa To: Arnaldo Carvalho de Melo Cc: linux-kernel@vger.kernel.org, Corey Ashford , Frederic Weisbecker , Ingo Molnar , Namhyung Kim , Paul Mackerras , Peter Zijlstra , David Ahern , Jean Pihet Subject: Re: [PATCH 1/6] perf tools: Factor features display code Message-ID: <20140220083020.GA2725@krava.brq.redhat.com> References: <1392825179-5228-1-git-send-email-jolsa@redhat.com> <1392825179-5228-2-git-send-email-jolsa@redhat.com> <20140219215936.GA5982@ghostprotocols.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140219215936.GA5982@ghostprotocols.net> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 19, 2014 at 06:59:36PM -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, Feb 19, 2014 at 04:52:54PM +0100, Jiri Olsa escreveu: > > Currently the we display all detected features/libraries > > by following rules: > > - if one of the features is missing > > - if it's build from clean tree > > > > This patch changes changes this behavior in several ways. > > > > - We no longer display all detected features, only detected > > libraries are displayed by default: > > > > $ make > > BUILD: Doing 'make -j4' parallel build > > > > Auto-detecting system features: > > ... dwarf: [ on ] > > ... glibc: [ on ] > > ... gtk2: [ on ] > > ... libaudit: [ on ] > > ... libbfd: [ on ] > > ... libelf: [ on ] > > ... libnuma: [ on ] > > ... libperl: [ on ] > > ... libpython: [ on ] > > ... libslang: [ on ] > > ... libunwind: [ on ] > > I like it, testing now, one suggestion: Since this is just about > libraries, ditch the "lib' prefix, and make the header more > informative, making it look like this: > > Auto-detecting system libraries that enables features: > ... dwarf: [ on ] > ... c: [ on ] > ... gtk2: [ on ] > ... audit: [ on ] > ... bfd: [ on ] > ... elf: [ on ] > ... numa: [ on ] > ... perl: [ on ] > ... python: [ on ] > ... slang: [ on ] > ... unwind: [ on ] yep, we could prettify it somehow.. but those names are tightly bound to tests in config/feature-checks/Makefile .. so it'd mean bigger change ;-) > > Also, do we look first for dwarf, then for glibc? the order is artifical.. we check all together.. almost ;-) we can sort the output to make more sense, like from the most crucial lib.. jirka -- 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/