diff options
author | Liming Wang <liming.wang@windriver.com> | 2008-11-26 10:29:26 +0800 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-11-26 03:48:37 +0100 |
commit | d144d5ee6a265823d39f75ecfed351a516295183 (patch) | |
tree | 7bdf055ed89ceccf1a4a31a85aab8d7ef5dc40ea | |
parent | 509dceef6470442d8c7b8a43ec34125205840b3c (diff) | |
download | kernel_samsung_aries-d144d5ee6a265823d39f75ecfed351a516295183.zip kernel_samsung_aries-d144d5ee6a265823d39f75ecfed351a516295183.tar.gz kernel_samsung_aries-d144d5ee6a265823d39f75ecfed351a516295183.tar.bz2 |
ftrace: adding other non-leaving .text sections
Impact: widen the scope of recordmcount.pl
Besides .text section, there are three .text sections that won't
be freed after kernel booting. They are: .sched.text, .spinlock.text
and .kprobes.text, which contain functions we can trace. But the last
section ".kprobes.text" is particular, which has been marked as "notrace",
we ignore it. Thus we add other two sections.
Signed-off-by: Liming Wang <liming.wang@windriver.com>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rwxr-xr-x | scripts/recordmcount.pl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/recordmcount.pl b/scripts/recordmcount.pl index 0197e2f..0b1dc9f 100755 --- a/scripts/recordmcount.pl +++ b/scripts/recordmcount.pl @@ -112,6 +112,8 @@ my ($arch, $bits, $objdump, $objcopy, $cc, # Acceptable sections to record. my %text_sections = ( ".text" => 1, + ".sched.text" => 1, + ".spinlock.text" => 1, ); $objdump = "objdump" if ((length $objdump) == 0); |