mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
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>
This commit is contained in:
parent
5cb084bb1f
commit
4d8289494a
1 changed files with 1 additions and 0 deletions
|
@ -119,6 +119,7 @@ my %text_sections = (
|
||||||
".sched.text" => 1,
|
".sched.text" => 1,
|
||||||
".spinlock.text" => 1,
|
".spinlock.text" => 1,
|
||||||
".irqentry.text" => 1,
|
".irqentry.text" => 1,
|
||||||
|
".text.unlikely" => 1,
|
||||||
);
|
);
|
||||||
|
|
||||||
$objdump = "objdump" if ((length $objdump) == 0);
|
$objdump = "objdump" if ((length $objdump) == 0);
|
||||||
|
|
Loading…
Reference in a new issue