From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751706AbbCIXLp (ORCPT ); Mon, 9 Mar 2015 19:11:45 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52698 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750753AbbCIXLo (ORCPT ); Mon, 9 Mar 2015 19:11:44 -0400 Date: Mon, 9 Mar 2015 20:11:19 -0300 From: Arnaldo Carvalho de Melo To: Jiri Olsa Cc: Jiri Olsa , linux-kernel@vger.kernel.org, Sebastian Andrzej Siewior , David Ahern , Frederic Weisbecker , Jeremie Galarneau , Namhyung Kim , Paul Mackerras , Peter Zijlstra , Tom Zanussi , Wang Nan Subject: Re: [PATCH 05/11] perf data: Add tracepoint events fields CTF conversion support Message-ID: <20150309231119.GD14515@redhat.com> References: <1424470628-5969-1-git-send-email-jolsa@kernel.org> <1424470628-5969-6-git-send-email-jolsa@kernel.org> <20150225192344.GH18705@kernel.org> <20150301132043.GA17097@krava.redhat.com> <20150302153220.GD6723@redhat.com> <20150309121203.GF27885@krava.brq.redhat.com> <20150309215121.GB14515@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150309215121.GB14515@redhat.com> 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 Mon, Mar 09, 2015 at 06:51:21PM -0300, Arnaldo Carvalho de Melo escreveu: > Doesn't work as well... > > :-\ > > Will try debugging... So I tried checkout out before Ingo's changes to libbabeltrace detection, i.e.: [acme@zoo linux]$ git checkout -b ttmp 9a75606ca06d94aab1ed0dbe96935e3f89dfb81c And it works: [acme@zoo linux]$ git checkout ttmp Switched to branch 'ttmp' [acme@zoo linux]$ rm -rf /tmp/build/perf ; mkdir -p /tmp/build/perf ; time make LIBBABELTRACE_DIR=/opt/libbabeltrace/ -C tools/perf O=/tmp/build/perf install-bin make: Entering directory `/home/git/linux/tools/perf' 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 ] ... libdw-dwarf-unwind: [ on ] ... libbabeltrace: [ on ] ... zlib: [ on ] ... DWARF post unwind library: libunwind MKDIR /tmp/build/perf/util/ But if I checkout tip/perf/core: [acme@zoo linux]$ git checkout -b ttmp2 tip/perf/core Branch ttmp2 set up to track remote branch perf/core from tip. Switched to a new branch 'ttmp2' [acme@zoo linux]$ rm -rf /tmp/build/perf ; mkdir -p /tmp/build/perf ; time make LIBBABELTRACE_DIR=/opt/libbabeltrace/ -C tools/perf O=/tmp/build/perf install-bin make: Entering directory `/home/git/linux/tools/perf' BUILD: Doing 'make -j4' parallel build config/Makefile:709: 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: [ on ] ... libdw-dwarf-unwind: [ on ] ... libbabeltrace: [ OFF ] ... zlib: [ on ] ... DWARF post unwind library: libunwind MKDIR /tmp/build/perf/util/ It doesn't work, bisecting: [acme@zoo linux]$ git bisect bad b49f1a4be701c2386ccc7496dc8442cf26424d5c is the first bad commit commit b49f1a4be701c2386ccc7496dc8442cf26424d5c Author: Ingo Molnar Date: Sat Feb 28 10:16:27 2015 +0100 perf tools: Improve feature test debuggability Certain feature tests fail with link errors: -------------------------------------------------------------- Ran out of time, will continue later/tomorrow. - Arnaldo