Date: Wed, 19 Apr 2006 02:32:26 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 95574 for review Message-ID: <200604190232.k3J2WQNn077916@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=95574 Change 95574 by jb@jb_freebsd2 on 2006/04/19 02:31:50 Remove some printfs now we actually get libdtrace opened sucessfully. Affected files ... .. //depot/projects/dtrace/src/contrib/opensolaris/lib/libdtrace/common/dt_open.c#4 edit Differences ... ==== //depot/projects/dtrace/src/contrib/opensolaris/lib/libdtrace/common/dt_open.c#4 (text) ==== @@ -1223,7 +1223,6 @@ if (flags & DTRACE_O_NODEV) dtp->dt_cflags |= DTRACE_C_ZDEFS; -printf("%s:%s(%d): call dtrace_program_strcompile\n",__FUNCTION__,__FILE__,__LINE__); /* * Load hard-wired inlines into the definition cache by calling the * compiler on the raw definition string defined above. @@ -1232,11 +1231,9 @@ DTRACE_PROBESPEC_NONE, DTRACE_C_EMPTY, 0, NULL)) == NULL) { dt_dprintf("failed to load hard-wired definitions: %s\n", dtrace_errmsg(dtp, dtrace_errno(dtp))); -printf("%s:%s(%d): dtrace_program_strcompile error\n",__FUNCTION__,__FILE__,__LINE__); return (set_open_errno(dtp, errp, EDT_HARDWIRE)); } -printf("%s:%s(%d): call dt_program_destroy\n",__FUNCTION__,__FILE__,__LINE__); dt_program_destroy(dtp, pgp); /* @@ -1246,11 +1243,9 @@ * compile, and to provide better error reporting (because the full * reporting of compiler errors requires dtrace_open() to succeed). */ -printf("%s:%s(%d): dtrace_setopt libdir\n",__FUNCTION__,__FILE__,__LINE__); if (dtrace_setopt(dtp, "libdir", _dtrace_libdir) != 0) return (set_open_errno(dtp, errp, dtp->dt_errno)); -printf("%s:%s(%d): return\n",__FUNCTION__,__FILE__,__LINE__); return (dtp); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604190232.k3J2WQNn077916>