From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752142AbbDBMXh (ORCPT ); Thu, 2 Apr 2015 08:23:37 -0400 Received: from terminus.zytor.com ([198.137.202.10]:60319 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751521AbbDBMXf (ORCPT ); Thu, 2 Apr 2015 08:23:35 -0400 Date: Thu, 2 Apr 2015 05:23:03 -0700 From: tip-bot for Jiri Olsa Message-ID: Cc: fweisbec@gmail.com, dsahern@gmail.com, jolsa@redhat.com, namhyung@kernel.org, jgalar@efficios.com, hpa@zytor.com, mingo@kernel.org, paulus@samba.org, a.p.zijlstra@chello.nl, jolsa@kernel.org, tglx@linutronix.de, linux-kernel@vger.kernel.org, acme@redhat.com, wangnan0@huawei.com, tzanussi@gmail.com, bigeasy@linutronix.de Reply-To: tzanussi@gmail.com, wangnan0@huawei.com, acme@redhat.com, bigeasy@linutronix.de, jolsa@redhat.com, dsahern@gmail.com, fweisbec@gmail.com, a.p.zijlstra@chello.nl, tglx@linutronix.de, jolsa@kernel.org, mingo@kernel.org, paulus@samba.org, jgalar@efficios.com, hpa@zytor.com, namhyung@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20150328103030.GA8431@krava.redhat.com> References: <20150328103030.GA8431@krava.redhat.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/core] perf build: Disable libbabeltrace check by default Git-Commit-ID: 6ab2b762befd192b90704c5c7898f5abf8ebb387 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 6ab2b762befd192b90704c5c7898f5abf8ebb387 Gitweb: http://git.kernel.org/tip/6ab2b762befd192b90704c5c7898f5abf8ebb387 Author: Jiri Olsa AuthorDate: Sat, 28 Mar 2015 11:30:30 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 30 Mar 2015 10:24:27 -0300 perf build: Disable libbabeltrace check by default Disabling libbabeltrace check by default and replacing the NO_LIBBABELTRACE make variable with LIBBABELTRACE. Users wanting the libbabeltrace feature need to build via: $ make LIBBABELTRACE=1 The reason for this is that the libababeltrace interface we use (version 1.3) hasn't been packaged/released yet, thus the failing feature check only slows down build and confuses other (non CTF) developers. Requested-by: Ingo Molnar Signed-off-by: Jiri Olsa Acked-by: Ingo Molnar Cc: David Ahern Cc: Frederic Weisbecker Cc: Jeremie Galarneau Cc: Jiri Olsa Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Sebastian Andrzej Siewior Cc: Tom Zanussi Cc: Wang Nan Link: http://lkml.kernel.org/r/20150328103030.GA8431@krava.redhat.com Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/Makefile.perf | 2 +- tools/perf/config/Makefile | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf index e9925e6..c43a205 100644 --- a/tools/perf/Makefile.perf +++ b/tools/perf/Makefile.perf @@ -69,7 +69,7 @@ include config/utilities.mak # # Define NO_ZLIB if you do not want to support compressed kernel modules # -# Define NO_LIBBABELTRACE if you do not want libbabeltrace support +# Define LIBBABELTRACE if you DO want libbabeltrace support # for CTF data format. # # Define NO_LZMA if you do not want to support compressed (xz) kernel modules diff --git a/tools/perf/config/Makefile b/tools/perf/config/Makefile index cd121df..59a98c6 100644 --- a/tools/perf/config/Makefile +++ b/tools/perf/config/Makefile @@ -95,7 +95,7 @@ ifndef NO_LIBELF FEATURE_CHECK_LDFLAGS-libdw-dwarf-unwind := $(LIBDW_LDFLAGS) -ldw endif -ifndef NO_LIBBABELTRACE +ifdef LIBBABELTRACE # for linking with debug library, run like: # make DEBUG=1 LIBBABELTRACE_DIR=/opt/libbabeltrace/ ifdef LIBBABELTRACE_DIR @@ -598,7 +598,7 @@ else NO_PERF_READ_VDSOX32 := 1 endif -ifndef NO_LIBBABELTRACE +ifdef LIBBABELTRACE $(call feature_check,libbabeltrace) ifeq ($(feature-libbabeltrace), 1) CFLAGS += -DHAVE_LIBBABELTRACE_SUPPORT $(LIBBABELTRACE_CFLAGS) @@ -607,7 +607,6 @@ ifndef NO_LIBBABELTRACE $(call detected,CONFIG_LIBBABELTRACE) else msg := $(warning No libbabeltrace found, disables 'perf data' CTF format support, please install libbabeltrace-dev[el]/libbabeltrace-ctf-dev); - NO_LIBBABELTRACE := 1 endif endif