aop_pointcut Struct Reference
A set of join points in the current function that are available for instrumentation. More...
Detailed Description
A set of join points in the current function that are available for instrumentation.
Create a pointcut using one of the aop_match
functions. Some types of pointcuts can be further refined using aop_filter
functions. Iterate through the individual join points in a pointcut using the aop_join_on() function, which calls an iterator function once for each of the join points in the set.
A pointcut stays valid for the duration of the compiler pass it is created in. You should never store a pointer to an aop_pointcut in any global data structure, in order to avoid any accesses to the join point after it becomes invalid.
- Examples:
-
advice_header.c, duplicate.c, and hello.c.
The documentation for this struct was generated from the following file:
- src/aop-doxy-main.c
