| To: | <kernprof@xxxxxxxxxxx> |
|---|---|
| Subject: | bug in mips64 get_top_frame (profile.h) |
| From: | "Chris Thomson" <cmt@xxxxxxxxx> |
| Date: | Wed, 20 Feb 2002 15:15:02 -0800 |
| Importance: | Normal |
| Sender: | owner-kernprof@xxxxxxxxxxx |
I've been hacking at a PowerPC port of kernprof, and while studying the existing versions, spotted what appears to be a bug in the MIPS64 version. In asm-mips64/profile.h, there's a function get_top_frame that scans for a daddiu $sp,$sp,... instruction, and then for a jr $ra instruction. If it finds the jr $ra, it should return, but continues to loop. This would cause it to scan back to the previous function instead of using the current one... |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Compiling Linux Kernel with the patch for kernprof, Krishnan Ananthanarayanan |
|---|---|
| Next by Date: | Re: kernprof available for 2.4.17, Gary Hade |
| Previous by Thread: | Compiling Linux Kernel with the patch for kernprof, Krishnan Ananthanarayanan |
| Next by Thread: | Re: kernprof available for 2.4.17, Gary Hade |
| Indexes: | [Date] [Thread] [Top] [All Lists] |