upipe/uprobe_helper_uprobe.h header reference
Upipe helper functions for public uprobe structure More
Header inclusion
Members
Macro
Description
Upipe helper functions for public uprobe structure
Members detail
This macro is declared in upipe/uprobe_helper_uprobe.h source file, line 64.
This macro declares two functions dealing with public and private parts of the allocated probe structure.
You must add the uprobe structure to your private probe structure:
struct uprobe uprobe;
Supposing the name of your structure is uprobe_foo, it declares:
struct uprobe *uprobe_foo_to_uprobe(struct uprobe_foo *s)
Returns a pointer to the public uprobe structure.
struct uprobe_foo uprobe_foo_from_uprobe(struct uprobe *uprobe)
Returns a pointer to the private uprobe_foo structure.
Parameter list:
- STRUCTURE: name of your private uprobe structure
- UPROBE: name of the struct uprobe field of your private uprobe structure
This macro is declared in upipe/uprobe_helper_uprobe.h source file, line 31.