lkml.org 
[lkml]   [2014]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/6] perf tools: Factor features display code

* Jiri Olsa <jolsa@redhat.com> wrote:

> 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 ;-)

The naming is also generally related to the feature test and the
component library being tested, so it could be misleading/confusing to
strip it?

Thanks,

Ingo


\
 
 \ /
  Last update: 2014-02-22 18:21    [W:0.061 / U:0.864 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site