upipe-pthread/uprobe_pthread_upump_mgr.h header reference

probe catching need_upump_mgr events and providing a upump manager based on thread local storage More

Header inclusion  

Members  

Type  

Functions  

Description  

probe catching need_upump_mgr events and providing a upump manager based on thread local storage

Members detail  

#define _UPIPE_PTHREAD_UPROBE_PTHREAD_UPUMP_MGR_H_  

This macro is declared in upipe-pthread/uprobe_pthread_upump_mgr.h source file, line 31.

struct uprobe_pthread_upump_mgr  

This struct is declared in upipe-pthread/uprobe_pthread_upump_mgr.h source file, line 47.

This struct is a super-set of the uprobe structure with additional local members.

FieldDescription
pthread_key_t key;pthread key pointing to thread local storage
struct uprobe uprobe;structure exported to modules

struct uprobe * uprobe_pthread_upump_mgr_alloc(struct uprobe *next)  

This function is declared in upipe-pthread/uprobe_pthread_upump_mgr.h source file, line 78.

This function allocates a new uprobe_pthread_upump_mgr 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_pthread_upump_mgr_clean(struct uprobe_pthread_upump_mgr *uprobe_pthread_upump_mgr)  

This function is declared in upipe-pthread/uprobe_pthread_upump_mgr.h source file, line 71.

This function cleans a uprobe_pthread_upump_mgr structure.

Parameter list:

  • uprobe_pthread_upump_mgr: structure to clean

struct uprobe * uprobe_pthread_upump_mgr_init(struct uprobe_pthread_upump_mgr *uprobe_pthread_upump_mgr, struct uprobe *next)  

This function is declared in upipe-pthread/uprobe_pthread_upump_mgr.h source file, line 65.

This function initializes an already allocated uprobe_pthread_upump_mgr structure.

Parameter list:

  • uprobe_pthread_upump_mgr: 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

int uprobe_pthread_upump_mgr_set(struct uprobe *uprobe, struct upump_mgr *upump_mgr)  

This function is declared in upipe-pthread/uprobe_pthread_upump_mgr.h source file, line 87.

This function changes the upump_mgr set by this probe for the current thread.

Parameter list:

  • uprobe: pointer to probe
  • upump_mgr: new upump manager to provide to pipes

The return value is an error code

struct uprobe_pthread_upump_mgr * uprobe_pthread_upump_mgr_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-pthread/uprobe_pthread_upump_mgr.h source file, line 55.

This function returns the private uprobe_pthread_upump_mgr structure.

Parameter list:

  • uprobe: public description structure of the probe

The return value is pointer to the private uprobe_pthread_upump_mgr structure

struct uprobe * uprobe_pthread_upump_mgr_to_uprobe(struct uprobe_pthread_upump_mgr *s)  

This function is for internal use only.

This function is declared in UPROBE_HELPER_UPROBE function like macro expansion, line 9 in upipe-pthread/uprobe_pthread_upump_mgr.h source file, line 55.

This function returns the public uprobe structure.

Parameter list:

  • uprobe_pthread_upump_mgr: pointer to the private uprobe_pthread_upump_mgr 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