summaryrefslogtreecommitdiff
path: root/usr/src/cmd/fm
diff options
context:
space:
mode:
authorbmc <none@none>2005-08-30 14:48:05 -0700
committerbmc <none@none>2005-08-30 14:48:05 -0700
commita1b5e537933659371285214eae1db2603e6364b4 (patch)
tree0e310d875940b00d01f2e43f9481f1bbc706165f /usr/src/cmd/fm
parent20bfb7bbfd42ba8121fb6ca123254c43402579ca (diff)
downloadillumos-gate-a1b5e537933659371285214eae1db2603e6364b4.tar.gz
6256581 System got a hang or a panic with dtrace+kmdb
6264573 unanchored dtrace_getpcstack is rather imprecise toward function end 6289517 dtrace doesn't like fd_intr anymore 6291378 dtrace helpers can interfere with the use of kmdb 6295554 dtrace doesn't report errors in ERROR probes 6311947 add umod()/ufunc()/usym(), mod()/func()/sym() 6311952 buffered handler should be called after printing each tuple element 6311956 drops induced by END are not recorded 6311958 should indicate missing jstack() frames due to string table overflows 6311960 allow some DTrace options to be set dynamically 6311963 jstack() produces stacks packed with "StubRoutines" 6311975 allow boolean DTrace options to be unset 6315028 allow quantize()/lquantize() increments to be D expressions 6315033 add dtrace_addr2str()/dtrace_uaddr2str() to libdtrace API 6315034 add ucaller variable 6315035 enablings containing USDT probes are not dynamically reevaluated 6315037 cannot aggregate on the return value of some subroutines 6315039 including <sys/kstat.h> in a D script induces compile-time error 6315087 stack() not correctly printed for 32-bit consumers on amd64 kernel 6315975 flowindent should operate on any probe ending in "-entry"/"-return" 6317350 symbol tables should not be discarded for UNDEAD processes
Diffstat (limited to 'usr/src/cmd/fm')
-rw-r--r--usr/src/cmd/fm/modules/sun4u/USII-io-diagnosis/iod_main.c6
-rw-r--r--usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/cmd_cpu.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/usr/src/cmd/fm/modules/sun4u/USII-io-diagnosis/iod_main.c b/usr/src/cmd/fm/modules/sun4u/USII-io-diagnosis/iod_main.c
index 992b1d5870..93db56d094 100644
--- a/usr/src/cmd/fm/modules/sun4u/USII-io-diagnosis/iod_main.c
+++ b/usr/src/cmd/fm/modules/sun4u/USII-io-diagnosis/iod_main.c
@@ -20,7 +20,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -127,9 +127,9 @@ iod_cpu_check_support(void)
if (strcmp(kn->name, "implementation") != 0)
continue;
- if (strncmp(kn->value.string.addr.ptr, "UltraSPARC-II",
+ if (strncmp(KSTAT_NAMED_STR_PTR(kn), "UltraSPARC-II",
sizeof ("UltraSPARC-II") - 1) == 0 &&
- strncmp(kn->value.string.addr.ptr, "UltraSPARC-III",
+ strncmp(KSTAT_NAMED_STR_PTR(kn), "UltraSPARC-III",
sizeof ("UltraSPARC-III") - 1) != 0) {
(void) kstat_close(kc);
return (1);
diff --git a/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/cmd_cpu.c b/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/cmd_cpu.c
index 5d0583a779..adb862474e 100644
--- a/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/cmd_cpu.c
+++ b/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/cmd_cpu.c
@@ -696,7 +696,7 @@ cpu_getfrustr(fmd_hdl_t *hdl, uint32_t cpuid)
for (kn = ksp->ks_data, i = 0; i < ksp->ks_ndata; i++, kn++) {
if (strcmp(kn->name, "cpu_fru") == 0) {
char *str = fmd_hdl_strdup(hdl,
- kn->value.string.addr.ptr, FMD_SLEEP);
+ KSTAT_NAMED_STR_PTR(kn), FMD_SLEEP);
(void) kstat_close(kc);
return (str);
}
@@ -1281,9 +1281,9 @@ cmd_cpu_check_support(void)
if (strcmp(kn->name, "implementation") != 0)
continue;
- if (strncmp(kn->value.string.addr.ptr, "UltraSPARC-III",
+ if (strncmp(KSTAT_NAMED_STR_PTR(kn), "UltraSPARC-III",
sizeof ("UltraSPARC-III") - 1) != 0 &&
- strncmp(kn->value.string.addr.ptr, "UltraSPARC-IV",
+ strncmp(KSTAT_NAMED_STR_PTR(kn), "UltraSPARC-IV",
sizeof ("UltraSPARC-IV") - 1) != 0) {
(void) kstat_close(kc);
return (0);