Add callsite support
[lttng-ust.git] / liblttng-ust / tracepoint-internal.h
index 72eafec1ab57c81acc3cb6e12c545a9a4992d7bc..571627602924d8c6b8daa3eeaf3b7b843a52cf3b 100644 (file)
@@ -31,6 +31,12 @@ struct tracepoint_lib {
        int tracepoints_count;
 };
 
+struct tracepoint_callsite_lib {
+       struct cds_list_head list;
+       struct tracepoint_callsite * const *tp_start;
+       int tp_count;
+};
+
 extern int tracepoint_probe_register_noupdate(const char *name,
                void (*callback)(void), void *priv,
                const char *signature);
@@ -50,4 +56,7 @@ static inline void tracepoint_synchronize_unregister(void)
 extern void init_tracepoint(void);
 extern void exit_tracepoint(void);
 
+int lttng_callsite_add(const struct tracepoint_callsite *tp_cs);
+int lttng_callsite_remove(const struct tracepoint_callsite *tp_cs);
+
 #endif /* _LTTNG_TRACEPOINT_INTERNAL_H */
This page took 0.023138 seconds and 4 git commands to generate.