diff options
author | Jiri Olsa <jolsa@redhat.com> | 2009-10-13 16:33:54 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-10-14 08:13:54 +0200 |
commit | 4d8289494a37e19cd7f3beacea9c957ad3debad6 (patch) | |
tree | c6ac5fe2643a46b65ce0c9dd2e0c2eabb89b83da /scripts | |
parent | 5cb084bb1f3fd4dcdaf7e4cf564994346ec8f783 (diff) | |
download | talos-op-linux-4d8289494a37e19cd7f3beacea9c957ad3debad6.tar.gz talos-op-linux-4d8289494a37e19cd7f3beacea9c957ad3debad6.zip |
tracing: Enable "__cold" functions
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 <jolsa@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
LKML-Reference: <20091013203426.175845614@goodmis.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/recordmcount.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/recordmcount.pl b/scripts/recordmcount.pl index 090d300d7394..bfb8b2cdd92a 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); |