aboutsummaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorAtsushi Nemoto <[email protected]>2006-02-08 01:48:03 +0900
committerRalf Baechle <[email protected]>2006-02-14 19:13:24 +0000
commit63077519899721120b61d663a68adced068a459d (patch)
tree54ed1587edae13a209f4cd2754ce4487fc3d6376 /scripts/basic
parent1bdfd0d9632f0254a4fc01d17c9933ae6107dec4 (diff)
[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 <[email protected]> Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions