svn commit: r201230 - stable/7/sys/opencrypto
Bjoern A. Zeeb
bz at FreeBSD.org
Tue Dec 29 23:21:07 UTC 2009
Author: bz
Date: Tue Dec 29 23:21:07 2009
New Revision: 201230
URL: http://svn.freebsd.org/changeset/base/201230
Log:
MFC r199884:
Define an SDT provider for "opencrypto".
Modified:
stable/7/sys/opencrypto/crypto.c
Directory Properties:
stable/7/sys/ (props changed)
stable/7/sys/cddl/contrib/opensolaris/ (props changed)
stable/7/sys/contrib/dev/acpica/ (props changed)
stable/7/sys/contrib/pf/ (props changed)
Modified: stable/7/sys/opencrypto/crypto.c
==============================================================================
--- stable/7/sys/opencrypto/crypto.c Tue Dec 29 23:19:28 2009 (r201229)
+++ stable/7/sys/opencrypto/crypto.c Tue Dec 29 23:21:07 2009 (r201230)
@@ -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-stable-7
mailing list