equal
deleted
inserted
replaced
39 } |
39 } |
40 |
40 |
41 return frame(sp, pc); |
41 return frame(sp, pc); |
42 } |
42 } |
43 |
43 |
|
44 bool JavaThread::pd_get_top_frame_for_profiling(frame* fr_addr, void* ucontext, bool isInJava) { |
|
45 ucontext_t* uc = (ucontext_t*) ucontext; |
|
46 *fr_addr = frame((intptr_t*)uc->uc_mcontext.regs->gpr[1/*REG_SP*/], |
|
47 (address)uc->uc_mcontext.regs->nip); |
|
48 return true; |
|
49 } |
|
50 |
44 // Forte Analyzer AsyncGetCallTrace profiling support is not implemented on Linux/PPC. |
51 // Forte Analyzer AsyncGetCallTrace profiling support is not implemented on Linux/PPC. |
45 bool JavaThread::pd_get_top_frame_for_signal_handler(frame* fr_addr, void* ucontext, bool isInJava) { |
52 bool JavaThread::pd_get_top_frame_for_signal_handler(frame* fr_addr, void* ucontext, bool isInJava) { |
46 Unimplemented(); |
53 Unimplemented(); |
47 return false; |
54 return false; |
48 } |
55 } |