X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=usertrace%2Flttng_usertrace.h;fp=usertrace%2Flttng_usertrace.h;h=944e8a0f51e1e548544145c74eb53599395aba19;hb=1a1e2a8c63768fe023a768696c77c4dec823b18d;hp=b4aa8f3b6ed74a38a5c9110a6f2e1703ef24ac48;hpb=fe2212e5dd8e839bb9231df88078f624cd9fa4f9;p=lttv.git diff --git a/usertrace/lttng_usertrace.h b/usertrace/lttng_usertrace.h index b4aa8f3b..944e8a0f 100644 --- a/usertrace/lttng_usertrace.h +++ b/usertrace/lttng_usertrace.h @@ -26,6 +26,9 @@ void __lttng_sig_trace_handler(int signo); +/* Call this at the beginning of a new thread, except for the main() */ +void lttng_thread_init(void); + static inline _syscall1(int, ltt_switch, unsigned long, addr) static inline _syscall3(int, ltt_update, unsigned long, addr, int *, active, int *, filter)