From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752983Ab3LJPb6 (ORCPT ); Tue, 10 Dec 2013 10:31:58 -0500 Received: from mail-ea0-f178.google.com ([209.85.215.178]:46991 "EHLO mail-ea0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751791Ab3LJPb4 (ORCPT ); Tue, 10 Dec 2013 10:31:56 -0500 Date: Tue, 10 Dec 2013 16:31:51 +0100 From: Ingo Molnar To: Jiri Olsa Cc: Arnaldo Carvalho de Melo , linux-kernel@vger.kernel.org, Corey Ashford , Frederic Weisbecker , Ingo Molnar , Namhyung Kim , Paul Mackerras , Peter Zijlstra , Steven Rostedt , David Ahern Subject: Re: [PATCH 28/28] perf tools: Add udis86 disassembler feature check Message-ID: <20131210153151.GB1195@gmail.com> References: <1386076182-14484-1-git-send-email-jolsa@redhat.com> <1386076182-14484-29-git-send-email-jolsa@redhat.com> <20131204185024.GC14788@ghostprotocols.net> <20131205080513.GA1251@krava.brq.redhat.com> <20131205092502.GA16653@gmail.com> <20131205094122.GA21600@krava.brq.redhat.com> <20131205104546.GC20283@gmail.com> <20131205130220.GH21600@krava.brq.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20131205130220.GH21600@krava.brq.redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Jiri Olsa wrote: > On Thu, Dec 05, 2013 at 11:45:46AM +0100, Ingo Molnar wrote: > > SNIP > > > > > > > > > 1) > > > > > > > > So, the first problem I can see is in the output: > > > > > > > > Auto-detecting system features: > > > > ... backtrace: [ on ] > > > > ... dwarf: [ on ] > > > > ... fortify-source: [ on ] > > > > ... glibc: [ on ] > > > > ... gtk2: [ on ] > > > > ... gtk2-infobar: [ on ] > > > > ... libaudit: [ on ] > > > > ... libbfd: [ on ] > > > > ... libelf: [ on ] > > > > ... libelf-getphdrnum: [ on ] > > > > ... libelf-mmap: [ on ] > > > > ... libnuma: [ on ] > > > > ... libperl: [ on ] > > > > ... libpython: [ on ] > > > > ... libpython-version: [ on ] > > > > ... libslang: [ on ] > > > > ... libunwind: [ on ] > > > > ... on-exit: [ on ] > > > > ... stackprotector-all: [ on ] > > > > ... timerfd: [ on ] > > > > > > > > config/Makefile:421: No udis86 support. > > > > > > > > such a 'no XYZ support' message should only occur if a feature test > > > > failed. _If_ we decide that 'udis86' support is required for a full > > > > perf build then there should be a new line saying something like: > > > > > > > > ... udis86: [ OFF ] > > > > > > hum, just sent v4 that added udis86 into above list ;-) > > > > > > So.. do we consider 'full perf build' to be build with all > > > possible libraries linked in? > > > > So my worry is, how widely is libudis86 available in distros? What is > > the package name on Debian/Ubuntu for example? > > I did not find any.. :-\ I can see Fedora and Gentoo That's a problem really - all perf developers who are using Ubuntu will see the failure, without being able to do anything about it. So maybe we need an intermediate feature-mode for such convenience features that don't really impact measurement capabilities, those features could be probed but failures would not be displayed in such a highly prominent fashion. Thanks, Ingo