Running the attachment below on ppc64 rel 5.4 yields: systemtap/runtime/stack-ppc.c:24: error: ‘STACK_FRAME_LR_SAVE’ undeclared (first use in this function) systemtap/runtime/stack-ppc.c:24: error: (Each undeclared identifier is reported only once systemtap/runtime/stack-ppc.c:24: error: for each function it appears in.) systemtap/runtime/stack-ppc.c:41: error: ‘STACK_FRAME_MARKER’ undeclared (first use in this function) systemtap/runtime/stack-ppc.c:41: error: ‘STACK_FRAME_REGS_MARKER’ undeclared (first use in this function)
Created attachment 4458 [details] test script
Looks like the following commit fixed this (tested against kernel 2.6.18-164.el5): commit 0ee3adb42f2f6d8bffe177e77a415b3a74f3a777 Author: Frank Ch. Eigler <fche@elastic.org> Date: Tue Dec 22 12:53:17 2009 -0500 ppc stack: transcribe portions of modern kernel ppc/.../asm/ptrace.h * runtime/stack-ppc.c (__stp_stack_print): Define STACK_FRAME_LR_SAVE, STACK_FRAME_REGS_MARKER,STACK_FRAME_MARKER, etc.