projects
/
ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ust: continue
[ust.git]
/
libtracing
/
relay.c
diff --git
a/libtracing/relay.c
b/libtracing/relay.c
index 14724a8e70ad0df8846f6932e465289581190eaf..bb781f2cde3f6d396ab1d2de3644a32812ec15bb 100644
(file)
--- a/
libtracing/relay.c
+++ b/
libtracing/relay.c
@@
-95,7
+95,7
@@
static int relay_alloc_buf(struct rchan_buf *buf, size_t *size)
*size = PAGE_ALIGN(*size);
/* Maybe do read-ahead */
*size = PAGE_ALIGN(*size);
/* Maybe do read-ahead */
- result = mmap(NULL, *size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS, -1, 0);
+ result = mmap(NULL, *size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS
| MAP_PRIVATE
, -1, 0);
if(result == MAP_FAILED) {
PERROR("mmap");
return -1;
if(result == MAP_FAILED) {
PERROR("mmap");
return -1;
This page took
0.023823 seconds
and
4
git commands to generate.