projects
/
ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rename libmallocwrap -> libustinstr-malloc
[ust.git]
/
libust
/
buffers.c
diff --git
a/libust/buffers.c
b/libust/buffers.c
index 88ec5d3b0aa87dd62fad00bfe6df2440d8960408..b7002dedf32c0c63353bd637f221a6f045de898a 100644
(file)
--- a/
libust/buffers.c
+++ b/
libust/buffers.c
@@
-26,7
+26,6
@@
#include <sys/shm.h>
#include <fcntl.h>
#include <ust/kernelcompat.h>
#include <sys/shm.h>
#include <fcntl.h>
#include <ust/kernelcompat.h>
-#include <kcompat/kref.h>
#include <stdlib.h>
#include "buffers.h"
#include "channels.h"
#include <stdlib.h>
#include "buffers.h"
#include "channels.h"
@@
-636,12
+635,6
@@
static int ust_buffers_init_buffer(struct ust_trace *trace,
buf->data_ready_fd_read = fds[0];
buf->data_ready_fd_write = fds[1];
buf->data_ready_fd_read = fds[0];
buf->data_ready_fd_write = fds[1];
- /* FIXME: do we actually need this? */
- result = fcntl(fds[0], F_SETFL, O_NONBLOCK);
- if(result == -1) {
- PERROR("fcntl");
- }
-
//ust// buf->commit_seq = malloc(sizeof(buf->commit_seq) * n_subbufs);
//ust// if(!ltt_buf->commit_seq) {
//ust// return -1;
//ust// buf->commit_seq = malloc(sizeof(buf->commit_seq) * n_subbufs);
//ust// if(!ltt_buf->commit_seq) {
//ust// return -1;
This page took
0.024245 seconds
and
4
git commands to generate.