Skip to content

Commit

Permalink
Define an SDT provider for "opencrypto".
Browse files Browse the repository at this point in the history
MFC after:	6 days
  • Loading branch information
bz authored and bz committed Nov 28, 2009
1 parent 6e982e1 commit 6ecc5a3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sys/opencrypto/crypto.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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>
Expand All @@ -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
Expand Down

0 comments on commit 6ecc5a3

Please sign in to comment.