Define an SDT provider for "opencrypto".
MFC after: 6 days
This commit is contained in:
parent
e7ad2d3410
commit
df21ad6e41
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=199884
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user