OpenCloudOS-Kernel/arch
Michal Simek 7d241ff056 microblaze: ftrace: Add dynamic trace support
With dynamic function tracer, by default, _mcount is defined as an
"empty" function, it returns directly without any more action. When
enabling it in user-space, it will jump to a real tracing
function(ftrace_caller), and do the real job for us.

Differ from the static function tracer, dynamic function tracer provides
two functions ftrace_make_call()/ftrace_make_nop() to enable/disable the
tracing of some indicated kernel functions(set_ftrace_filter).

In the kernel version, there is only one "_mcount" string for every
kernel function, so, we just need to match this one in mcount_regex of
scripts/recordmcount.pl.

For more information please look at code and Documentation/trace folder.

Steven ACK that scripts/recordmcount.pl part.

Acked-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Michal Simek <monstr@monstr.eu>
2009-12-14 08:44:01 +01:00
..
alpha Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs-2.6 2009-12-11 15:31:13 -08:00
arm Merge branch 'ixp4xx' of git://git.kernel.org/pub/scm/linux/kernel/git/chris/linux-2.6 2009-12-12 15:22:22 -08:00
avr32 Unify sys_mmap* 2009-12-11 06:44:29 -05:00
blackfin Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs-2.6 2009-12-11 15:31:13 -08:00
cris Unify sys_mmap* 2009-12-11 06:44:29 -05:00
frv Unify sys_mmap* 2009-12-11 06:44:29 -05:00
h8300 Unify sys_mmap* 2009-12-11 06:44:29 -05:00
ia64 Merge git://git.kernel.org/pub/scm/linux/kernel/git/viro/mmap 2009-12-11 12:23:29 -08:00
m32r Unify sys_mmap* 2009-12-11 06:44:29 -05:00
m68k Unify sys_mmap* 2009-12-11 06:44:29 -05:00
m68knommu Unify sys_mmap* 2009-12-11 06:44:29 -05:00
microblaze microblaze: ftrace: Add dynamic trace support 2009-12-14 08:44:01 +01:00
mips Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs-2.6 2009-12-11 15:31:13 -08:00
mn10300 Unify sys_mmap* 2009-12-11 06:44:29 -05:00
parisc Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs-2.6 2009-12-11 15:31:13 -08:00
powerpc Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc 2009-12-12 14:27:24 -08:00
s390 Unify sys_mmap* 2009-12-11 06:44:29 -05:00
score Add missing alignment check in arch/score sys_mmap() 2009-12-11 06:48:57 -05:00
sh fix broken aliasing checks for MAP_FIXED on sparc32, mips, arm and sh 2009-12-11 06:44:59 -05:00
sparc Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs-2.6 2009-12-11 15:31:13 -08:00
um Unify sys_mmap* 2009-12-11 06:44:29 -05:00
x86 Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2009-12-11 20:47:59 -08:00
xtensa Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty-2.6 2009-12-11 15:34:40 -08:00
.gitignore
Kconfig Merge branch 'kvm-updates/2.6.33' of git://git.kernel.org/pub/scm/virt/kvm/kvm 2009-12-08 08:02:38 -08:00