summaryrefslogtreecommitdiff
path: root/kvm_impl.h
diff options
context:
space:
mode:
authorBryan Cantrill <bryan@joyent.com>2011-08-08 22:15:48 -0700
committerBryan Cantrill <bryan@joyent.com>2011-08-08 22:15:48 -0700
commit1fcd3312a197a56661bbaecc7027fa3823ee2e6f (patch)
tree0c00c5584807a74e4e1b0dac48fa537fa08f8818 /kvm_impl.h
parentaca837db5c91a16208314a26872fc144cc54d35f (diff)
downloadillumos-kvm-1fcd3312a197a56661bbaecc7027fa3823ee2e6f.tar.gz
HVM-582 remove more XXXs
HVM-583 KVM DTrace probes should all use KVM_TRACE macros
Diffstat (limited to 'kvm_impl.h')
-rw-r--r--kvm_impl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/kvm_impl.h b/kvm_impl.h
index 931c876..7fd9c8c 100644
--- a/kvm_impl.h
+++ b/kvm_impl.h
@@ -13,6 +13,9 @@
#define XXX_KVM_SYNC_PROBE DTRACE_PROBE2(kvm__xxx__sync, \
char *, __FILE__, int, __LINE__)
+#define KVM_TRACE(name) \
+ DTRACE_PROBE(kvm__##name);
+
#define KVM_TRACE1(name, type1, arg1) \
DTRACE_PROBE1(kvm__##name, type1, arg1);