summaryrefslogtreecommitdiffstats
path: root/tapset
diff options
context:
space:
mode:
authortpnguyen <tpnguyen>2006-10-29 15:40:57 +0000
committertpnguyen <tpnguyen>2006-10-29 15:40:57 +0000
commita23b37425197e995abc7d52aa4ec70a6890ea729 (patch)
treedd1a9560132142755db8c7e8be27f66cb908e9fd /tapset
parent19510e5e18ac14bd9dc59eddb1a794ced7238301 (diff)
downloadsystemtap-steved-a23b37425197e995abc7d52aa4ec70a6890ea729.tar.gz
systemtap-steved-a23b37425197e995abc7d52aa4ec70a6890ea729.tar.xz
systemtap-steved-a23b37425197e995abc7d52aa4ec70a6890ea729.zip
2006-10-29 Thang Nguyen <thang.p.nguyen@intel.com>
* context.stp: Added proper handling of statement * probe in probefunc() for IA64 (bz# 3423)
Diffstat (limited to 'tapset')
-rw-r--r--tapset/ChangeLog4
-rw-r--r--tapset/context.stp6
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*/