upipe/uprobe_transfer.h header reference

probe transferring events from one thread to another More

Header inclusion  

Members  

Types  

Functions  

Description  

probe transferring events from one thread to another

Members detail  

#define UPROBE_XFER_SIGNATURE  

This macro is declared in upipe/uprobe_transfer.h source file, line 41.

#define _UPIPE_UPROBE_TRANSFER_H_  

This macro is declared in upipe/uprobe_transfer.h source file, line 31.

struct uprobe_xfer  

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.

FieldDescription
struct uchain subs;list of events to transfer
struct uprobe uprobe;structure exported to modules

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

struct uprobe * uprobe_xfer_alloc(struct uprobe *next)  

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

enum uprobe_xfer_event  

This enum is declared in upipe/uprobe_transfer.h source file, line 45.

additional event types

IdentifierValueDescription
UPROBE_XFER_SENTINELUPROBE_LOCAL+UPROBE_LOCAL
UPROBE_XFER_VOIDunknowna void event needs to be transferred
UPROBE_XFER_UINT64_Tunknowna uint64_t event needs to be transferred
UPROBE_XFER_UNSIGNED_LONG_LOCALunknowna 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

Valid XHTML 1.0 StrictGenerated by cmassiot on Fri Feb 2 23:57:19 2018 using MkDoc