From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934381AbZJMVWW (ORCPT ); Tue, 13 Oct 2009 17:22:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1761348AbZJMVWU (ORCPT ); Tue, 13 Oct 2009 17:22:20 -0400 Received: from hrndva-omtalb.mail.rr.com ([71.74.56.123]:53934 "EHLO hrndva-omtalb.mail.rr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761361AbZJMVWS (ORCPT ); Tue, 13 Oct 2009 17:22:18 -0400 Message-Id: <20091013212020.301485779@goodmis.org> User-Agent: quilt/0.48-1 Date: Tue, 13 Oct 2009 17:19:38 -0400 From: Steven Rostedt To: linux-kernel@vger.kernel.org Cc: Ingo Molnar , Andrew Morton , Frederic Weisbecker , Jiri Olsa Subject: [PATCH 4/4] [PATCH 4/4] tracing: enabling "__cold" functions References: <20091013211934.941504044@goodmis.org> Content-Disposition: inline; filename=0004-tracing-enabling-__cold-functions.patch Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jiri Olsa Based on the commit: a586df06 "x86: Support __attribute__((__cold__)) in gcc 4.3" some of the functions goes to the ".text.unlikely" section. Looks like there's not many of them (I found printk, panic, __ssb_dma_not_implemented, fat_fs_error), but still worth to include I think. Signed-off-by: Jiri Olsa LKML-Reference: <1255104899-27784-1-git-send-email-jolsa@redhat.com> Signed-off-by: Steven Rostedt --- scripts/recordmcount.pl | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/scripts/recordmcount.pl b/scripts/recordmcount.pl index 090d300..bfb8b2c 100755 --- a/scripts/recordmcount.pl +++ b/scripts/recordmcount.pl @@ -119,6 +119,7 @@ my %text_sections = ( ".sched.text" => 1, ".spinlock.text" => 1, ".irqentry.text" => 1, + ".text.unlikely" => 1, ); $objdump = "objdump" if ((length $objdump) == 0); -- 1.6.3.3