}
+/**
+ * Get the line number of join point. You usually want to call this
+ * with aop_capture_file_name() to fully identify the line of code the
+ * join point is from.
+ * \param jp Any join point.
+ */
int
aop_capture_lineno (struct aop_joinpoint *jp)
{
return jp->line;
}
+/**
+ * Get the name of the file this join point is in. This function will
+ * usually return the name of the file that is currently being
+ * compiled, but compiler macros make it possible for their to be join
+ * points from other files.
+ * \param jp Any join point.
+ */
const char *
aop_capture_file_name (struct aop_joinpoint *jp)
{