Types¶
-
struct
SDTProvider_t¶ Represents a USDT Provider. A USDT Provider is basically a namespace for USDT probes. Shouldn’t be created manually, use
providerInit()instead.-
char *
name¶ Provider’s name
-
SDTProbeList_t *
probes¶ Linked-list of registered probes
-
SDTError_t
errno¶ Error code of the last error for this provider
-
char *
error¶ Error string of the last error for this provider
-
char *
-
struct
SDTProbe_t¶ Represents a USDT Probe. A probe is basically a software breakpoint. Shouldn’t be created manually, use
providerAddProbe()instead.-
char *
name¶ Probe’s name
-
ArgType_t argFmt[MAX_ARGUMENTS] Array holding all arguments accepted by this probe.
-
struct SDTProvider *
provider¶ Pointer to this probe’s provider
-
int
argCount¶ Number of accepted arguments
-
char *
-
enum
SDTArgTypes_t¶ Represents all accepted arguments defined by Systeptap’s SDT probes.
-
noarg¶ No argument
-
uint8¶ 8 bits unsigned int
-
int8¶ 8 bits signed int
-
uint16¶ 16 bits unsigned int
-
int16¶ 16 bits signed int
-
uint32¶ 32 bits unsigned int
-
int32¶ 32 bits signed int
-
uint64¶ 64 bits unsigned int
-
int64¶ 64 bits signed int
-
-
enum
SDTError_t¶ Represents all errors thrown by libstapsdt.
-
noError¶ This error code means that no error occured so far
-
elfCreationError¶ This error code means that we were unable to create an Elf file to store our probes
-
tmpCreationError¶ This error code means that we were unable to open a temporary file at
/tmp/. A common mistake here is having a/in the provider name, which will be interpreted by the operating system as a folder.
This error code means that we were unable to open the shared library that we just created
-
symbolLoadingError¶ This error code means that the we were unable to load a symbol from the shared library we just created
This error code means that we were unable to close the shared library for this provider
-
-
struct
SDTProbeList_t¶ Represents a linked-list of
SDTProbe_t. Shouldn’t be handled manually, useproviderAddProbe()instead.-
SDTProbe_t
probe¶
-
struct SDTProbeList_ *
next¶
-
SDTProbe_t