#include <urcu-bp.h>
#include <lttng/tracepoint-types.h>
+#define TRACE_DEFAULT TRACE_DEBUG_LINE
+
struct tracepoint_lib {
- struct cds_list_head list;
- struct tracepoint * const *tracepoints_start;
+ struct cds_list_head list; /* list of registered libs */
+ struct lttng_ust_tracepoint * const *tracepoints_start;
int tracepoints_count;
+ struct cds_list_head callsites;
};
-extern int tracepoint_probe_register_noupdate(const char *name, void *callback, void *priv);
-extern int tracepoint_probe_unregister_noupdate(const char *name, void *callback, void *priv);
+extern int tracepoint_probe_register_noupdate(const char *name,
+ void (*callback)(void), void *priv,
+ const char *signature);
+extern int tracepoint_probe_unregister_noupdate(const char *name,
+ void (*callback)(void), void *priv);
extern void tracepoint_probe_update_all(void);
/*