]> bbs.cooldavid.org Git - net-next-2.6.git/commit - scripts/recordmcount.pl
ftrace: adding other non-leaving .text sections
authorLiming Wang <liming.wang@windriver.com>
Wed, 26 Nov 2008 02:29:26 +0000 (10:29 +0800)
committerIngo Molnar <mingo@elte.hu>
Wed, 26 Nov 2008 02:48:37 +0000 (03:48 +0100)
commitd144d5ee6a265823d39f75ecfed351a516295183
tree7bdf055ed89ceccf1a4a31a85aab8d7ef5dc40ea
parent509dceef6470442d8c7b8a43ec34125205840b3c
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>
scripts/recordmcount.pl