From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752795AbYJYKvt (ORCPT ); Sat, 25 Oct 2008 06:51:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751263AbYJYKvl (ORCPT ); Sat, 25 Oct 2008 06:51:41 -0400 Received: from fg-out-1718.google.com ([72.14.220.158]:43278 "EHLO fg-out-1718.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751208AbYJYKvk (ORCPT ); Sat, 25 Oct 2008 06:51:40 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=Z7yOn6FKM3AGsvspOQ11ELbxg6Z+GJ/lAZ1L0olpH19GmQ50OVUIvDDlpeFfNxdL61 u41xzvsxvOFncX2bSAACPb+vqBERnE0fJ05X9iQJn5H2/nZQkZIX/0GAqgBLAqfsMEdF tmr5g9opkx84pwKQ0+UoXVyca4kcdaRcwoeL4= Message-ID: Date: Sat, 25 Oct 2008 12:51:39 +0200 From: "=?ISO-8859-1?Q?Fr=E9d=E9ric_Weisbecker?=" To: "Steven Rostedt" Subject: Re: [PATCH][RFC] ftrace: function oprofiler Cc: LKML , "Ingo Molnar" , "Thomas Gleixner" , "Peter Zijlstra" , "Arnaldo Carvalho de Melo" , "Paul E. McKenney" , "Andrew Morton" , "Linus Torvalds" , "Arjan van de Ven" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Steven, 2008/10/25 Steven Rostedt : > # cat /debug/tracing/ftrace_profile | sort -brn | head -20 > 280075 : __rcu_read_unlock+0xb/0xa2 > 280065 : __rcu_read_lock+0x11/0xb3 The rcu function are on top of this profile. May be it's because you use rcu when you touch your hash table. Wouldn't be interesting to disable the counter adding for these functions when they are used at this time? > +config FUNCTION_PROFILER > + bool "Trace max stack" Copy-paste error? :-)