Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753603Ab3JYOVB (ORCPT ); Fri, 25 Oct 2013 10:21:01 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:56721 "EHLO out4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752995Ab3JYOVA convert rfc822-to-8bit (ORCPT ); Fri, 25 Oct 2013 10:21:00 -0400 X-Sasl-enc: JmpHISYazZUT605bUoR8UqF2fiiMgm95O6A2cWU7KekY 1382710857 References: <20131023044511.1886.82571.stgit@hemant-fedora> <20131023050502.1886.15779.stgit@hemant-fedora> <20131025125921.GA29424@linux.vnet.ibm.com> Mime-Version: 1.0 (1.0) In-Reply-To: <20131025125921.GA29424@linux.vnet.ibm.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8BIT Message-Id: Cc: Pekka Enberg , Hemant Kumar , LKML , Peter Zijlstra , Oleg Nesterov , "hegdevasant@linux.vnet.ibm.com" , Ingo Molnar , "anton@redhat.com" , "systemtap@sourceware.org" , Namhyung Kim , Masami Hiramatsu , "aravinda@linux.vnet.ibm.com" X-Mailer: iPhone Mail (11B511) From: Pekka Enberg Subject: Re: [PATCH v4 2/3] Support for perf to probe into SDT markers: Date: Fri, 25 Oct 2013 16:20:54 +0200 To: Srikar Dronamraju Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 932 Lines: 17 > Technically feasible. But then we would have to parse each of the > libraries and executables to list them. Right? I am not sure if such a > delay is acceptable. You could do it at 'perf list' time or even build time and cache it. And add lazy discovery to 'perf record' and friends. > Also if a binary exists in a path thats is not covered in the default > search, an user might believe that his binary may not have markers. > I know the above reason is more of a user folly than a tooling issue. Lazy discovery at 'perf record'-time from executable and DSOs should make that transparent to the user, no? I'm pretty sure it will be fast enough with content-adressed cache. - Pekka-- 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/