Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762281Ab2FVPFU (ORCPT ); Fri, 22 Jun 2012 11:05:20 -0400 Received: from mail-pb0-f46.google.com ([209.85.160.46]:58660 "EHLO mail-pb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755500Ab2FVPFS (ORCPT ); Fri, 22 Jun 2012 11:05:18 -0400 Subject: Re: [RFC/PATCHSET 0/8] perf tools: Minimal build without libelf dependency (v2) From: Namhyung Kim To: Peter Zijlstra Cc: Arnaldo Carvalho de Melo , Paul Mackerras , Ingo Molnar , LKML , Jiri Olsa , David Ahern In-Reply-To: <1340358478.18025.51.camel@twins> References: <1340343462-15556-1-git-send-email-namhyung@kernel.org> <1340358478.18025.51.camel@twins> Content-Type: text/plain; charset="UTF-8" Date: Sat, 23 Jun 2012 00:05:10 +0900 Message-ID: <1340377510.1478.10.camel@leonhard> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1069 Lines: 29 Hi Peter, 2012-06-22 (금), 11:47 +0200, Peter Zijlstra: > On Fri, 2012-06-22 at 14:37 +0900, Namhyung Kim wrote: > > And then I realized that the perf record needs to know about the > > build-id's anyway. :( So I implemented a poor man's version of elf > > parser only for parsing the build-id info. > > Why? the very first versions didn't know about any of that nonsense :-) > It works just fine as long as you don't go change binaries around. > > That said, you did the work already, so no objection, just saying > builtids aren't that important. I'm not sure I understood you correctly. But 'perf record' needs to know about the build-id's to save them to perf.data for 'perf report' later. And 'perf archive' also needs to know about them to select necessary binaries for the session. -- Regards, Namhyung Kim -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/