diff options
-rw-r--r-- | tapset/ChangeLog | 4 | ||||
-rw-r--r-- | tapset/context.stp | 6 |
2 files changed, 9 insertions, 1 deletions
diff --git a/tapset/ChangeLog b/tapset/ChangeLog index 5eee8fb3..1e16c223 100644 --- a/tapset/ChangeLog +++ b/tapset/ChangeLog @@ -1,3 +1,7 @@ +2006-10-29 Thang Nguyen <thang.p.nguyen@intel.com> + * context.stp: Added proper handling of statement + * probe in probefunc() for IA64 (bz# 3423) + 2006-10-16 Li Guanglei <guanglei@cn.ibm.com> * scsi.stp: check whether rq_disk is empty * scheduler.stp: revert changes for x86_64 diff --git a/tapset/context.stp b/tapset/context.stp index 449e135d..c4927172 100644 --- a/tapset/context.stp +++ b/tapset/context.stp @@ -107,7 +107,11 @@ function probefunc:string () %{ /* pure */ *dst = 0; } else if (CONTEXT->regs && - (REG_IP(CONTEXT->regs) >= PAGE_OFFSET)) { +#if defined (__ia64__) + ((unsigned long)REG_IP(CONTEXT->regs) >= (unsigned long)KERNEL_START)) { +#else + ((unsigned long)REG_IP(CONTEXT->regs) >= (unsigned long)PAGE_OFFSET)) { +#endif _stp_symbol_sprint_basic(THIS->__retvalue, MAXSTRINGLEN, REG_IP(CONTEXT->regs)); if (THIS->__retvalue[0] == '.') /* powerpc symbol has a dot*/ |