Atsushi Nemoto 6307751989 [MIPS] Rewrite get_wchan and its helper functions using kallsyms_lookup.
Implement get_wchan() and frame_info_init() using kallsyms_lookup().
This fixes problem with static sched/lock functions and mfinfo[]
maintenance issue.  If CONFIG_KALLSYMS was disabled, get_wchan() just
returns thread_saved_pc() value.
    
Also unwind stackframe based on "addiu sp,-imm" analysis instead of
frame pointer.  This fixes problem with functions compiled without
-fomit-frame-pointer.
    
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2006-02-14 19:13:24 +00:00
..
2005-10-29 19:31:17 +01:00
2005-10-29 19:32:23 +01:00
2005-10-29 19:32:43 +01:00
2005-10-29 19:32:39 +01:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-10-29 19:30:50 +01:00
2005-10-29 19:32:09 +01:00
2005-09-05 00:06:07 -07:00
2005-10-29 19:32:46 +01:00
2006-01-12 09:08:59 -08:00
2005-10-29 19:31:17 +01:00
2006-02-07 13:30:21 +00:00
2006-02-08 17:52:25 +00:00
2006-02-08 17:52:25 +00:00
2006-02-08 17:52:25 +00:00
2005-10-29 19:31:46 +01:00
2006-02-08 17:52:25 +00:00
2006-01-11 18:42:14 -08:00
2006-02-07 13:30:26 +00:00
2005-10-29 19:30:50 +01:00
2006-01-10 13:39:06 +00:00