From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756924AbbCCPus (ORCPT ); Tue, 3 Mar 2015 10:50:48 -0500 Received: from mx1.redhat.com ([209.132.183.28]:39341 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755968AbbCCPur (ORCPT ); Tue, 3 Mar 2015 10:50:47 -0500 Date: Tue, 3 Mar 2015 12:50:30 -0300 From: Arnaldo Carvalho de Melo To: Jiri Olsa Cc: linux-kernel@vger.kernel.org, Adrian Hunter , Corey Ashford , David Ahern , Frederic Weisbecker , Ingo Molnar , Namhyung Kim , Paul Mackerras , Peter Zijlstra , Stephane Eranian , acme@kernel.org Subject: Re: [PATCH 02/14] perf tools: Add feature check for lzma library Message-ID: <20150303155030.GC2289@redhat.com> References: <1425396581-17716-1-git-send-email-jolsa@kernel.org> <1425396581-17716-3-git-send-email-jolsa@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1425396581-17716-3-git-send-email-jolsa@kernel.org> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.5.20 (2009-12-10) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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]$