summaryrefslogtreecommitdiffstats
path: root/cddl
diff options
context:
space:
mode:
authorrpaulo <rpaulo@FreeBSD.org>2014-06-26 22:38:06 +0000
committerrpaulo <rpaulo@FreeBSD.org>2014-06-26 22:38:06 +0000
commitb14d31acfe746e87bae81feaeeb78f15dc35ed86 (patch)
treeb9a5420f3e61018d475cc8e1b2e39efa9e388062 /cddl
parent5da5395a98758fa50d5c1b8a2b98e63e6021ccac (diff)
downloadFreeBSD-src-b14d31acfe746e87bae81feaeeb78f15dc35ed86.zip
FreeBSD-src-b14d31acfe746e87bae81feaeeb78f15dc35ed86.tar.gz
Add stubs for CTF functions which are not yet implemented.
MFC after: 2 weeks
Diffstat (limited to 'cddl')
-rw-r--r--cddl/lib/libdtrace/libproc_compat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cddl/lib/libdtrace/libproc_compat.h b/cddl/lib/libdtrace/libproc_compat.h
index d796f34..7e54ada 100644
--- a/cddl/lib/libdtrace/libproc_compat.h
+++ b/cddl/lib/libdtrace/libproc_compat.h
@@ -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
OpenPOWER on IntegriCloud