projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Build a jar for the Java side of the JNI interface
[lttng-ust.git]
/
tests
/
ust-basic-tracing
/
ust-basic-tracing.c
diff --git
a/tests/ust-basic-tracing/ust-basic-tracing.c
b/tests/ust-basic-tracing/ust-basic-tracing.c
index 57c025ee15e59081cadf0d2c401e0059f7b0fa46..004974b53d6080fea71732657391a0003af2febf 100644
(file)
--- a/
tests/ust-basic-tracing/ust-basic-tracing.c
+++ b/
tests/ust-basic-tracing/ust-basic-tracing.c
@@
-42,6
+42,7
@@
#include <ust-comm.h>
#include "../../libringbuffer/backend.h"
#include "../../libringbuffer/frontend.h"
#include <ust-comm.h>
#include "../../libringbuffer/backend.h"
#include "../../libringbuffer/frontend.h"
+#include "../../liblttng-ust/compat.h" /* For ENODATA */
#define MAX_NR_STREAMS 64
#define MAX_NR_EVENTS 128
#define MAX_NR_STREAMS 64
#define MAX_NR_EVENTS 128
@@
-222,7
+223,7
@@
int consume_stream(struct lttng_ust_shm_handle *handle, int cpu, char *outfile)
}
/* copy */
}
/* copy */
- outfd = open(outfile, O_WRONLY | O_CREAT | O_
LARGEFILE | O_
TRUNC,
+ outfd = open(outfile, O_WRONLY | O_CREAT | O_TRUNC,
S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP);
if (outfd < 0) {
perror("open output");
S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP);
if (outfd < 0) {
perror("open output");
This page took
0.023706 seconds
and
4
git commands to generate.