summaryrefslogtreecommitdiffstats
path: root/sys/opencrypto
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2009-11-28 16:54:18 +0000
committerbz <bz@FreeBSD.org>2009-11-28 16:54:18 +0000
commit6ecc5a340c9ced496b21c438f0005b7d30efe86d (patch)
treeca153c5b3ff178c8abdf2da979574ce337eefff8 /sys/opencrypto
parent6e982e167a6d22fd194cb104a50456aed1569bdf (diff)
downloadFreeBSD-src-6ecc5a340c9ced496b21c438f0005b7d30efe86d.zip
FreeBSD-src-6ecc5a340c9ced496b21c438f0005b7d30efe86d.tar.gz
Define an SDT provider for "opencrypto".
MFC after: 6 days
Diffstat (limited to 'sys/opencrypto')
-rw-r--r--sys/opencrypto/crypto.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/opencrypto/crypto.c b/sys/opencrypto/crypto.c
index 0637c86..5810780 100644
--- a/sys/opencrypto/crypto.c
+++ b/sys/opencrypto/crypto.c
@@ -57,6 +57,7 @@ __FBSDID("$FreeBSD$");
#define CRYPTO_TIMING /* enable timing support */
#include "opt_ddb.h"
+#include "opt_kdtrace.h"
#include <sys/param.h>
#include <sys/systm.h>
@@ -68,6 +69,7 @@ __FBSDID("$FreeBSD$");
#include <sys/mutex.h>
#include <sys/malloc.h>
#include <sys/proc.h>
+#include <sys/sdt.h>
#include <sys/sysctl.h>
#include <ddb/ddb.h>
@@ -80,6 +82,8 @@ __FBSDID("$FreeBSD$");
#include <sys/bus.h>
#include "cryptodev_if.h"
+SDT_PROVIDER_DEFINE(opencrypto);
+
/*
* Crypto drivers register themselves by allocating a slot in the
* crypto_drivers table with crypto_get_driverid() and then registering
OpenPOWER on IntegriCloud