Date: Tue, 13 Jun 2006 01:16:26 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 99108 for review Message-ID: <200606130116.k5D1GQrc055365@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=99108 Change 99108 by jb@jb_freebsd2 on 2006/06/13 01:16:03 Add a bit of debug code while I'm still searching for things that cause double faults in fbt. Affected files ... .. //depot/projects/dtrace/src/sys/cddl/dev/dtrace/dtrace_ioctl.c#14 edit Differences ... ==== //depot/projects/dtrace/src/sys/cddl/dev/dtrace/dtrace_ioctl.c#14 (text+ko) ==== @@ -34,6 +34,18 @@ SDT_PROBE(dtrace, ioctl, entry, cmd, addr, 0, 0, 0); +#if defined(__i386__) + /* + * Check if any probe recursions have occurred. These are more + * likely to cause a crash, but let's try to report them if we + * can. + */ + if (dtrace_in_probe_addr != 0) { + printf("dtrace_in_probe_addr 0x%lx\n", (u_long) dtrace_in_probe_addr); + dtrace_in_probe_addr = 0; + } +#endif + switch (cmd) { case DTRACEIOC_AGGDESC: { dtrace_aggdesc_t **paggdesc = (dtrace_aggdesc_t **) addr;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606130116.k5D1GQrc055365>