work in prog
[lttv.git] / usertrace-fast / ltt-usertrace-fast.c
index b56e3b5294377008933d4c956675d24fe9faf56d..55ba880ab8684f9038bc05f3f9ba4fba64fe0edf 100644 (file)
@@ -42,6 +42,7 @@
  */
 
 #define _GNU_SOURCE
+#define LTT_TRACE
 #include <sys/types.h>
 #include <sys/wait.h>
 #include <unistd.h>
 #include <stdlib.h>
 #include <sys/param.h>
 #include <sys/time.h>
+#include <errno.h>
 
 #include <asm/atomic.h>
 #include <asm/timex.h> //for get_cycles()
 
+_syscall0(pid_t,gettid)
+
 #include "ltt-usertrace-fast.h"
 
 enum force_switch_mode { FORCE_ACTIVE, FORCE_FLUSH };
This page took 0.022275 seconds and 4 git commands to generate.