summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/os/sysent.c
diff options
context:
space:
mode:
authorahl <none@none>2006-09-19 16:29:20 -0700
committerahl <none@none>2006-09-19 16:29:20 -0700
commit2b6e762c557496a41438c0b105d604f60c593682 (patch)
treed2b6b9529da4f0bc18f1bf902a2cd4e4cf23ce11 /usr/src/uts/common/os/sysent.c
parentc6939658adb0a356a77bc28f7df252ceb4a8f6cc (diff)
downloadillumos-gate-2b6e762c557496a41438c0b105d604f60c593682.tar.gz
6282214 Byte Ordering Functions in libdtrace
6353438 syscall arguments past the 5th are incorrect 6432394 some sort of #define to denote the availability of USDT 6435862 dtrace -G can generate malformed string tables 6443592 dtrace(1M) leaves a breakpoint in rtld_db_dlactivity on error 6455174 assertion failed: new_pc != 0, file: ../../intel/dtrace/fasttrap_isa.c, line: 1606 6456626 dtrace -G should be able to 'guess' output format 6461522 Availability of dummy-macros for USDT probes in non-DTrace-supported environments 6462995 the syscall provider truncates return values on 32-bit x86 kernels 6465195 assertion failed: -1 <= rmindex && rmindex < tp->ftt_size 6472119 fasttrap should optimize the nop case on x86 6472121 dtest.pl should use the right compilers
Diffstat (limited to 'usr/src/uts/common/os/sysent.c')
-rw-r--r--usr/src/uts/common/os/sysent.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/usr/src/uts/common/os/sysent.c b/usr/src/uts/common/os/sysent.c
index 8211e23d01..93fb6a0d75 100644
--- a/usr/src/uts/common/os/sysent.c
+++ b/usr/src/uts/common/os/sysent.c
@@ -1133,12 +1133,12 @@ char **syscallnames;
systrace_sysent_t *systrace_sysent;
void (*systrace_probe)(dtrace_id_t, uintptr_t, uintptr_t,
- uintptr_t, uintptr_t, uintptr_t);
+ uintptr_t, uintptr_t, uintptr_t, uintptr_t);
/*ARGSUSED*/
void
systrace_stub(dtrace_id_t id, uintptr_t arg0, uintptr_t arg1,
- uintptr_t arg2, uintptr_t arg3, uintptr_t arg4)
+ uintptr_t arg2, uintptr_t arg3, uintptr_t arg4, uintptr_t arg5)
{}
/*ARGSUSED*/
@@ -1152,7 +1152,7 @@ dtrace_systrace_syscall(uintptr_t arg0, uintptr_t arg1, uintptr_t arg2,
proc_t *p;
if ((id = sy->stsy_entry) != DTRACE_IDNONE)
- (*systrace_probe)(id, arg0, arg1, arg2, arg3, arg4);
+ (*systrace_probe)(id, arg0, arg1, arg2, arg3, arg4, arg5);
/*
* We want to explicitly allow DTrace consumers to stop a process
@@ -1173,7 +1173,7 @@ dtrace_systrace_syscall(uintptr_t arg0, uintptr_t arg1, uintptr_t arg2,
if ((id = sy->stsy_return) != DTRACE_IDNONE)
(*systrace_probe)(id, (uintptr_t)rval, (uintptr_t)rval,
- 0, 0, 0);
+ (uintptr_t)((int64_t)rval >> 32), 0, 0, 0);
return (rval);
}
@@ -1193,7 +1193,7 @@ dtrace_systrace_syscall32(uintptr_t arg0, uintptr_t arg1, uintptr_t arg2,
proc_t *p;
if ((id = sy->stsy_entry) != DTRACE_IDNONE)
- (*systrace_probe)(id, arg0, arg1, arg2, arg3, arg4);
+ (*systrace_probe)(id, arg0, arg1, arg2, arg3, arg4, arg5);
/*
* We want to explicitly allow DTrace consumers to stop a process
@@ -1214,7 +1214,7 @@ dtrace_systrace_syscall32(uintptr_t arg0, uintptr_t arg1, uintptr_t arg2,
if ((id = sy->stsy_return) != DTRACE_IDNONE)
(*systrace_probe)(id, (uintptr_t)rval, (uintptr_t)rval,
- 0, 0, 0);
+ (uintptr_t)((uint64_t)rval >> 32), 0, 0, 0);
return (rval);
}
@@ -1242,5 +1242,5 @@ dtrace_systrace_rtt(void)
}
if ((id = sy->stsy_return) != DTRACE_IDNONE)
- (*systrace_probe)(id, 0, 0, 0, 0, 0);
+ (*systrace_probe)(id, 0, 0, 0, 0, 0, 0);
}