Function Entry Pointcut Functions
Function Documentation
void aop_filter_entry_by_name |
( |
struct aop_pointcut * |
pc, |
|
|
const char * |
name | |
|
) |
| | |
Filter a function entry pointcut so it will contain the current function's entry join point only if the current function's name matches the specified name. This filter is a convenient way to target the entry point of a specific function for instrumentation.
- Parameters:
-
| pc | The function entry pointcut to filter. Function entry pointcuts are created with aop_match_function_entry(). |
| name | The name to filter by. |
Get a pointcut with the entry to the current function. Generally a pointcut is a set of join points, but because a given function has only one entry point, the pointcut returned by this function will have exactly one join point.
- Returns:
- The resulting pointcut.
- Examples:
- duplicate.c, and hello.c.
Generated on Tue Jul 31 21:46:42 2012 for InterAspect by
1.6.1