From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757288Ab3LWNEp (ORCPT ); Mon, 23 Dec 2013 08:04:45 -0500 Received: from mail-ea0-f180.google.com ([209.85.215.180]:51614 "EHLO mail-ea0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756990Ab3LWNEn (ORCPT ); Mon, 23 Dec 2013 08:04:43 -0500 Date: Mon, 23 Dec 2013 14:04:38 +0100 From: Ingo Molnar To: Masami Hiramatsu Cc: "Frank Ch. Eigler" , linux-arch@vger.kernel.org, Ananth N Mavinakayanahalli , Sandeepa Prabhu , x86@kernel.org, lkml , "Steven Rostedt (Red Hat)" , systemtap@sourceware.org, "David S. Miller" Subject: Re: [PATCH -tip v6 00/22] kprobes: introduce NOKPROBE_SYMBOL(), cleanup and fixes crash bugs Message-ID: <20131223130438.GA5076@gmail.com> References: <20131219090353.14309.15496.stgit@kbuild-fedora.novalocal> <52B3C5E6.2040802@hitachi.com> <20131220082056.GA15934@gmail.com> <52B40E79.8040701@hitachi.com> <20131220104615.GA22609@gmail.com> <52B75542.7040600@hitachi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <52B75542.7040600@hitachi.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 * Masami Hiramatsu wrote: > > I can reproduce one weirdness, with just 13 probes added, 'perf probe > > -l' [which should really be 'perf probe list'!] executes very slowly: > > > > # perf stat --null --repeat 3 perf probe -l > > > > Performance counter stats for 'perf probe -l' (3 runs): > > > > 0.763640098 seconds time elapsed ( +- 1.61% ) > > > > 0.7 seconds is ridiculously long. > > This comes from the perf-probe's internal issue. It tries to get > actual lines and files by using debuginfo. I guess most of the time > consumed when processing huge kernel debuginfo. No, I don't have any debuginfo, I never use it. Thanks, Ingo