diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/recordmcount.c | 3 | ||||
-rwxr-xr-x | scripts/recordmcount.pl | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/scripts/recordmcount.c b/scripts/recordmcount.c index 038b3d1e2981..f9f6f52db772 100644 --- a/scripts/recordmcount.c +++ b/scripts/recordmcount.c | |||
@@ -206,7 +206,8 @@ static uint32_t (*w2)(uint16_t); | |||
206 | static int | 206 | static int |
207 | is_mcounted_section_name(char const *const txtname) | 207 | is_mcounted_section_name(char const *const txtname) |
208 | { | 208 | { |
209 | return 0 == strcmp(".text", txtname) || | 209 | return 0 == strcmp(".text", txtname) || |
210 | 0 == strcmp(".ref.text", txtname) || | ||
210 | 0 == strcmp(".sched.text", txtname) || | 211 | 0 == strcmp(".sched.text", txtname) || |
211 | 0 == strcmp(".spinlock.text", txtname) || | 212 | 0 == strcmp(".spinlock.text", txtname) || |
212 | 0 == strcmp(".irqentry.text", txtname) || | 213 | 0 == strcmp(".irqentry.text", txtname) || |
diff --git a/scripts/recordmcount.pl b/scripts/recordmcount.pl index 1d7963f4ee79..4be0deea71ca 100755 --- a/scripts/recordmcount.pl +++ b/scripts/recordmcount.pl | |||
@@ -130,6 +130,7 @@ if ($inputfile =~ m,kernel/trace/ftrace\.o$,) { | |||
130 | # Acceptable sections to record. | 130 | # Acceptable sections to record. |
131 | my %text_sections = ( | 131 | my %text_sections = ( |
132 | ".text" => 1, | 132 | ".text" => 1, |
133 | ".ref.text" => 1, | ||
133 | ".sched.text" => 1, | 134 | ".sched.text" => 1, |
134 | ".spinlock.text" => 1, | 135 | ".spinlock.text" => 1, |
135 | ".irqentry.text" => 1, | 136 | ".irqentry.text" => 1, |