svn commit: r267940 - head/cddl/lib/libdtrace
Rui Paulo
rpaulo at FreeBSD.org
Thu Jun 26 22:38:07 UTC 2014
Author: rpaulo
Date: Thu Jun 26 22:38:06 2014
New Revision: 267940
URL: http://svnweb.freebsd.org/changeset/base/267940
Log:
Add stubs for CTF functions which are not yet implemented.
MFC after: 2 weeks
Modified:
head/cddl/lib/libdtrace/libproc_compat.h
Modified: head/cddl/lib/libdtrace/libproc_compat.h
==============================================================================
--- head/cddl/lib/libdtrace/libproc_compat.h Thu Jun 26 21:49:27 2014 (r267939)
+++ head/cddl/lib/libdtrace/libproc_compat.h Thu Jun 26 22:38:06 2014 (r267940)
@@ -45,8 +45,10 @@
#define Pgrab_error strerror
#define Plmid_to_map(p, l, o) proc_obj2map((p), (o))
#define Plookup_by_addr proc_addr2sym
+#define Pname_to_ctf(p, obj) NULL
#define Pname_to_map proc_name2map
#define Pobject_iter proc_iter_objs
+#define Pobject_iter_resolved(p, f, arg) 1
#define Pobjname proc_objname
#define Pread proc_read
#define Prd_agent proc_rdagent
More information about the svn-src-head
mailing list