projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add missing include to event.c
[lttv.git]
/
ltt-usertrace
/
ltt-usertrace-fast.c
diff --git
a/ltt-usertrace/ltt-usertrace-fast.c
b/ltt-usertrace/ltt-usertrace-fast.c
index 17da6cd8cf2a4d05b97bf6bf353e141643859dcf..f97e941e5e12b2d97e80c9abb52602ee393a656e 100644
(file)
--- a/
ltt-usertrace/ltt-usertrace-fast.c
+++ b/
ltt-usertrace/ltt-usertrace-fast.c
@@
-68,9
+68,6
@@
#include <unistd.h>
#include <sys/syscall.h>
#include <unistd.h>
#include <sys/syscall.h>
-// included with hack for powerpc in ltt-usertrace.h #include <asm/atomic.h>
-#include <asm/timex.h> //for get_cycles()
-
#include <ltt/ltt-usertrace.h>
#define gettid() syscall(__NR_gettid)
#include <ltt/ltt-usertrace.h>
#define gettid() syscall(__NR_gettid)
@@
-371,6
+368,7
@@
static inline int ltt_buffer_put(struct ltt_buf *ltt_buf,
printf("error in sem_post");
}
}
printf("error in sem_post");
}
}
+ return ret;
}
static int read_subbuffer(struct ltt_buf *ltt_buf, int fd)
}
static int read_subbuffer(struct ltt_buf *ltt_buf, int fd)
This page took
0.022229 seconds
and
4
git commands to generate.