Re: [PATCH 02/14] perf tools: Add feature check for lzma library

From: Arnaldo Carvalho de Melo
Date: Tue Mar 03 2015 - 10:50:52 EST


Em Tue, Mar 03, 2015 at 04:29:29PM +0100, Jiri Olsa escreveu:
> Will be used to decompress 'xz' objects. The check detects
> the liblzma.so devel library normally delivered by xz package.

Hey, don't we want to emit some warning like the one below for CTF/libunwind?

- Arnaldo

[perf/core 1b23d3ab8304] perf tools: Add feature check for lzma library
Author: Jiri Olsa <jolsa@xxxxxxxxxx>
3 files changed, 19 insertions(+), 3 deletions(-)
create mode 100644 tools/perf/config/feature-checks/test-lzma.c
[acme@ssdandy linux]$ fg
-bash: fg: current: no such job
[acme@ssdandy linux]$ time make O=/tmp/build/perf -C tools/perf install-bin
make: Entering directory `/home/acme/git/linux/tools/perf'
BUILD: Doing 'make -j8' parallel build
config/Makefile:427: No libunwind found. Please install libunwind-dev[el] >= 1.1 and/or set LIBUNWIND_DIR
config/Makefile:711: No libbabeltrace found, disables 'perf data' CTF format support, please install libbabeltrace-dev[el]/libbabeltrace-ctf-dev

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: [ OFF ]
... libdw-dwarf-unwind: [ on ]
... libbabeltrace: [ OFF ]
... zlib: [ on ]
... lzma: [ OFF ]
... DWARF post unwind library: libdw

INSTALL GTK UI
INSTALL binaries
INSTALL libexec
INSTALL perf-archive
INSTALL perf-with-kcore
INSTALL perl-scripts
INSTALL python-scripts
INSTALL perf_completion-script
INSTALL tests
make: Leaving directory `/home/acme/git/linux/tools/perf'

real 0m3.818s
user 0m3.087s
sys 0m0.970s
[acme@ssdandy linux]$
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/