PERFORCE change 95574 for review
John Birrell
jb at FreeBSD.org
Wed Apr 19 02:32:27 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=95574
Change 95574 by jb at 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);
}
More information about the p4-projects
mailing list