svn commit: r199884 - head/sys/opencrypto

Bjoern A. Zeeb bz at FreeBSD.org
Sat Nov 28 16:54:20 UTC 2009


Author: bz
Date: Sat Nov 28 16:54:18 2009
New Revision: 199884
URL: http://svn.freebsd.org/changeset/base/199884

Log:
  Define an SDT provider for "opencrypto".
  
  MFC after:	6 days

Modified:
  head/sys/opencrypto/crypto.c

Modified: head/sys/opencrypto/crypto.c
==============================================================================
--- head/sys/opencrypto/crypto.c	Sat Nov 28 16:47:42 2009	(r199883)
+++ head/sys/opencrypto/crypto.c	Sat Nov 28 16:54:18 2009	(r199884)
@@ -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


More information about the svn-src-head mailing list