9e1491de519712c73ec621c4ef4872eca6f2bb57 |
|
18-Mar-2011 |
Michal Simek <monstr@monstr.eu> |
microblaze: Fix ftrace - Do not trace idle loop which takes a lot time - Fix cache handling in generic ftrace code - Do not trace lib functions ashldi3, ashrdi3, lshrdi3 Functions are called from generic ftrace code which can't be traced Signed-off-by: Michal Simek <monstr@monstr.eu>
|
d2bf98e6fc2612cbd2fc40f75a1e2c5d60262331 |
|
02-Apr-2010 |
Steven J. Magnani <steve@digidescorp.com> |
microblaze: Fix ftrace_update_ftrace_func panic The Microblaze dynamic ftrace code assumes a call ordering that is not met in all scenarios. Specifically, executing a command similar to: echo 105 > /sys/kernel/debug/tracing/set_ftrace_pid before any other tracing-related commands results in a kernel panic: BUG: failure at arch/microblaze/kernel/ftrace.c:198/ftrace_update_ftrace_func()! Recoding ftrace_update_ftrace_func() to use &ftrace_caller directly eliminates the need to capture its address elsewhere (and thus rely on a particular call sequence). Signed-off-by: Steven J. Magnani <steve@digidescorp.com> Signed-off-by: Michal Simek <monstr@monstr.eu>
|
4f911b0daf0f7028a4fe792b701a48d10da36d84 |
|
16-Nov-2009 |
Michal Simek <monstr@monstr.eu> |
microblaze: ftrace: Add dynamic function graph tracer 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>
|
a0d3e66522e8f6119f002cf31e5d92d7ae73b409 |
|
16-Nov-2009 |
Michal Simek <monstr@monstr.eu> |
microblaze: ftrace: add function graph support For more information look at Documentation/trace folder. Signed-off-by: Michal Simek <monstr@monstr.eu>
|
7d241ff0567b9503d79ee775c40927d09b509f83 |
|
10-Dec-2009 |
Michal Simek <monstr@monstr.eu> |
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>
|