upipe/uprobe_transfer.h header reference
probe transferring events from one thread to another More
Header inclusion
Members
Types
- struct uprobe_xfer
- enum uprobe_xfer_event
Functions
- int uprobe_xfer_add(struct uprobe *uprobe, enum uprobe_xfer_event xfer_event, int event, uint32_t signature)
- struct uprobe * uprobe_xfer_alloc(struct uprobe *next)
- void uprobe_xfer_clean(struct uprobe_xfer *uprobe_xfer)
- struct uprobe * uprobe_xfer_init(struct uprobe_xfer *uprobe_xfer, struct uprobe *next)
Description
probe transferring events from one thread to another
Members detail
This macro is declared in upipe/uprobe_transfer.h source file, line 41.
This macro is declared in upipe/uprobe_transfer.h source file, line 31.
This struct is declared in upipe/uprobe_transfer.h source file, line 58.
This struct is a super-set of the uprobe structure with additional local members.
int uprobe_xfer_add(struct uprobe *uprobe, enum uprobe_xfer_event xfer_event, int event, uint32_t signature)
This function is declared in upipe/uprobe_transfer.h source file, line 99.
This function allocates a sub-structure to transfer an event.
Parameter list:
- uprobe: pointer to probe
- xfer_event: type of the event
- event: event to be transferred
- signature: event signature, or 0 for standard events
The return value is an error code
This function is declared in upipe/uprobe_transfer.h source file, line 88.
This function allocates a new uprobe_xfer structure.
Parameter list:
- next: next probe to test if this one doesn't catch the event
The return value is pointer to uprobe, or NULL in case of error
void uprobe_xfer_clean(struct uprobe_xfer *uprobe_xfer)
This function is declared in upipe/uprobe_transfer.h source file, line 81.
This function cleans a uprobe_xfer structure.
Parameter list:
- uprobe_xfer: structure to clean
This enum is declared in upipe/uprobe_transfer.h source file, line 45.
additional event types
Identifier | Value | Description |
---|---|---|
UPROBE_XFER_SENTINEL | UPROBE_LOCAL+UPROBE_LOCAL | |
UPROBE_XFER_VOID | unknown | a void event needs to be transferred |
UPROBE_XFER_UINT64_T | unknown | a uint64_t event needs to be transferred |
UPROBE_XFER_UNSIGNED_LONG_LOCAL | unknown | a local unsigned long event needs to be transferred |
struct uprobe * uprobe_xfer_init(struct uprobe_xfer *uprobe_xfer, struct uprobe *next)
This function is declared in upipe/uprobe_transfer.h source file, line 75.
This function initializes an already allocated uprobe_xfer structure.
Parameter list:
- uprobe_xfer: pointer to the already allocated structure
- next: next probe to test if this one doesn't catch the event
The return value is pointer to uprobe, or NULL in case of error
struct uprobe_xfer * uprobe_xfer_from_uprobe(struct uprobe *uprobe)
This function is for internal use only.
This function is declared in UPROBE_HELPER_UPROBE function like macro expansion, line 19 in upipe/uprobe_transfer.h source file, line 66.
This function returns the private uprobe_xfer structure.
Parameter list:
- uprobe: public description structure of the probe
The return value is pointer to the private uprobe_xfer structure
struct uprobe * uprobe_xfer_to_uprobe(struct uprobe_xfer *s)
This function is for internal use only.
This function is declared in UPROBE_HELPER_UPROBE function like macro expansion, line 9 in upipe/uprobe_transfer.h source file, line 66.
This function returns the public uprobe structure.
Parameter list:
- uprobe_xfer: pointer to the private uprobe_xfer structure
The return value is pointer to the public uprobe structure