aboutsummaryrefslogtreecommitdiff
path: root/cddl
diff options
context:
space:
mode:
authorRui Paulo <rpaulo@FreeBSD.org>2014-06-26 22:38:06 +0000
committerRui Paulo <rpaulo@FreeBSD.org>2014-06-26 22:38:06 +0000
commit09779aae33753abb43560827746abd9a1bdb8072 (patch)
treeb9a5420f3e61018d475cc8e1b2e39efa9e388062 /cddl
parent6c89995002b9c6d1a9c7365483c55c106fc752d5 (diff)
downloadsrc-09779aae33753abb43560827746abd9a1bdb8072.tar.gz
src-09779aae33753abb43560827746abd9a1bdb8072.zip
Add stubs for CTF functions which are not yet implemented.
MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=267940
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 d796f34f48aa..7e54ada6bf94 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