FreeBSD kernel kern code
kern_sdt.c File Reference
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kdb.h>
#include <sys/sdt.h>
Include dependency graph for kern_sdt.c:

Go to the source code of this file.

Functions

 SDT_PROVIDER_DEFINE (sdt)
 
void sdt_probe_stub (uint32_t id, uintptr_t arg0, uintptr_t arg1, uintptr_t arg2, uintptr_t arg3, uintptr_t arg4)
 

Variables

sdt_probe_func_t sdt_probe_func = sdt_probe_stub
 
volatile bool __read_frequently sdt_probes_enabled
 

Function Documentation

◆ sdt_probe_stub()

void sdt_probe_stub ( uint32_t  id,
uintptr_t  arg0,
uintptr_t  arg1,
uintptr_t  arg2,
uintptr_t  arg3,
uintptr_t  arg4 
)

Definition at line 50 of file kern_sdt.c.

References kdb_backtrace(), and printf().

Here is the call graph for this function:

◆ SDT_PROVIDER_DEFINE()

SDT_PROVIDER_DEFINE ( sdt  )

Variable Documentation

◆ sdt_probe_func

sdt_probe_func_t sdt_probe_func = sdt_probe_stub

Definition at line 41 of file kern_sdt.c.

◆ sdt_probes_enabled

volatile bool __read_frequently sdt_probes_enabled

Definition at line 42 of file kern_sdt.c.