From 78aac14af4446945a5a843de25db76c8ec9cf041 Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Fri, 11 Feb 2011 16:43:33 -0500 Subject: [PATCH] --- yaml --- r: 234525 b: refs/heads/master c: 1274a9c2e91652e28efa45c3e5886ec82f08bfbe h: refs/heads/master i: 234523: d98fc087e9646ef8e1cfbbbc60c01669ac667a64 v: v3 --- [refs] | 2 +- trunk/scripts/recordmcount.c | 3 ++- trunk/scripts/recordmcount.pl | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 6e1cdcf01a01..f79a89fea17c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 10da37a645b5e915d8572cc2b1f5eb11ada3ea4f +refs/heads/master: 1274a9c2e91652e28efa45c3e5886ec82f08bfbe diff --git a/trunk/scripts/recordmcount.c b/trunk/scripts/recordmcount.c index 038b3d1e2981..f9f6f52db772 100644 --- a/trunk/scripts/recordmcount.c +++ b/trunk/scripts/recordmcount.c @@ -206,7 +206,8 @@ static uint32_t (*w2)(uint16_t); static int is_mcounted_section_name(char const *const txtname) { - return 0 == strcmp(".text", txtname) || + return 0 == strcmp(".text", txtname) || + 0 == strcmp(".ref.text", txtname) || 0 == strcmp(".sched.text", txtname) || 0 == strcmp(".spinlock.text", txtname) || 0 == strcmp(".irqentry.text", txtname) || diff --git a/trunk/scripts/recordmcount.pl b/trunk/scripts/recordmcount.pl index 1d7963f4ee79..4be0deea71ca 100755 --- a/trunk/scripts/recordmcount.pl +++ b/trunk/scripts/recordmcount.pl @@ -130,6 +130,7 @@ # Acceptable sections to record. my %text_sections = ( ".text" => 1, + ".ref.text" => 1, ".sched.text" => 1, ".spinlock.text" => 1, ".irqentry.text" => 1,