Typo: Conflict in lttng-context-vtid. not properly resolved
authorChristian Babeux <christian.babeux@efficios.com>
Wed, 28 Nov 2012 04:01:06 +0000 (23:01 -0500)
committerChristian Babeux <christian.babeux@efficios.com>
Wed, 28 Nov 2012 04:01:06 +0000 (23:01 -0500)
The conflict that appeared on commit d9ecffa9ad6203df66b5fa81e8d505c3a9779c16
was not properly resolved.

liblttng-ust/lttng-context-vtid.c

index 9aa36c6c55a30e999c9f60fb3fb7dc88392a8139..ea153fe27b688155d5fa253a7d9d593c9085c878 100644 (file)
 #include "ltt-tracer-core.h"
 #include <lttng/ust-tid.h>
 
-#ifdef __linux__
-#include <syscall.h>
-#endif
-
-#if defined(_syscall0)
-_syscall0(pid_t, gettid)
-#elif defined(__NR_gettid)
-static inline pid_t gettid(void)
-{
-       return syscall(__NR_gettid);
-}
-#else
-#warning "use pid as tid"
-static inline pid_t gettid(void)
-{
-       return getpid();
-}
-#endif
-======= end
-
 /*
  * We cache the result to ensure we don't trigger a system call for
  * each event.
This page took 0.0248 seconds and 4 git commands to generate.