upipe-pthread/uprobe_pthread_assert.h header reference

probe asserting that all events come from the same thread More

Header inclusion [link] 

Members [link] 

Type [link] 

Functions [link] 

Description [link] 

probe asserting that all events come from the same thread

Members detail [link] 

#define _UPIPE_PTHREAD_UPROBE_PTHREAD_ASSERT_H_ [link] 

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

struct uprobe_pthread_assert [link] 

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

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

FieldDescription
bool inited;true if the pthread ID was inited
pthread_t thread_id;asserted pthread ID
struct uprobe uprobe;structure exported to modules

struct uprobe * uprobe_pthread_assert_alloc(struct uprobe *next) [link] 

This function is declared in upipe-pthread/uprobe_pthread_assert.h source file, line 80.

This function allocates a new uprobe_pthread_assert 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_assert_clean(struct uprobe_pthread_assert *uprobe_pthread_assert) [link] 

This function is declared in upipe-pthread/uprobe_pthread_assert.h source file, line 73.

This function cleans a uprobe_pthread_assert structure.

Parameter list:

  • uprobe_pthread_assert: structure to clean

struct uprobe * uprobe_pthread_assert_init(struct uprobe_pthread_assert *uprobe_pthread_assert, struct uprobe *next) [link] 

This function is declared in upipe-pthread/uprobe_pthread_assert.h source file, line 67.

This function initializes an already allocated uprobe_pthread_assert structure.

Parameter list:

  • uprobe_pthread_assert: 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_assert_set(struct uprobe *uprobe, pthread_t thread_id) [link] 

This function is declared in upipe-pthread/uprobe_pthread_assert.h source file, line 88.

This function changes the thread ID used by this probe to the current thread.

Parameter list:

  • uprobe: pointer to probe
  • thread_id: thread ID

The return value is an error code

struct upump_mgr [link] 

This struct is declared in upipe/uprobe_upump_mgr.h source file, line 43.

FieldDescription
struct urefcount * refcount;pointer to refcount management structure
unsigned int signature;signature of the upump handler
struct uchain uchain;structure for double-linked lists - for use by the application only
void * opaque;opaque - for use by the application only
struct upump *(*upump_alloc)(struct upump_mgr *, int va_list ) ;function to create a pump
int (*upump_control)(struct upump *, int va_list ) ;control function for standard or local commands - all parameters belong to the caller
int (*upump_mgr_control)(struct upump_mgr *, int va_list ) ;control function for standard or local manager commands - all parameters belong to the caller

struct uprobe_pthread_assert * uprobe_pthread_assert_from_uprobe(struct uprobe *uprobe) [link] 

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_assert.h source file, line 57.

This function returns the private uprobe_pthread_assert structure.

Parameter list:

  • uprobe: public description structure of the probe

The return value is pointer to the private uprobe_pthread_assert structure

struct uprobe * uprobe_pthread_assert_to_uprobe(struct uprobe_pthread_assert *s) [link] 

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_assert.h source file, line 57.

This function returns the public uprobe structure.

Parameter list:

  • uprobe_pthread_assert: pointer to the private uprobe_pthread_assert structure

The return value is pointer to the public uprobe structure

Valid XHTML 1.0 StrictGenerated by cmassiot on Sun Dec 14 18:31:17 2025 using MkDoc