summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/kernel/ftrace.c
Commit message (Collapse)AuthorAgeFilesLines
* microblaze: ftrace: Add dynamic function graph tracerMichal Simek2009-12-141-0/+28
| | | | | | | | | | | | This patch add support for dynamic function graph tracer. There is one my expactation that I can do flush_icache after all code modification. On microblaze is this safer than do flush for every entry. For icache is used name flush but correct should be invalidation - this will be fix in upcomming new cache implementaion and WB support. Signed-off-by: Michal Simek <monstr@monstr.eu>
* microblaze: ftrace: add function graph supportMichal Simek2009-12-141-0/+58
| | | | | | For more information look at Documentation/trace folder. Signed-off-by: Michal Simek <monstr@monstr.eu>
* microblaze: ftrace: Add dynamic trace supportMichal Simek2009-12-141-0/+151
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>
OpenPOWER on IntegriCloud