X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fust-consumer%2Fust-consumer.c;h=5f5e9582574011577297bf36123a64958a752793;hp=9a5775b8ed3bff1bf996dc244516b1dce2685257;hb=ca4537d385628d3568a918409d909d3042ca7a38;hpb=826a02a292d2bd409be87ea96ba2fccbccee76b1 diff --git a/src/common/ust-consumer/ust-consumer.c b/src/common/ust-consumer/ust-consumer.c index 9a5775b8e..5f5e95825 100644 --- a/src/common/ust-consumer/ust-consumer.c +++ b/src/common/ust-consumer/ust-consumer.c @@ -26,14 +26,12 @@ #include #include #include -#include #include #include #include #include #include -#include #include "ust-consumer.h" @@ -73,7 +71,7 @@ int lttng_ustconsumer_on_read_subbuffer_mmap( goto end; } /* This won't block, but will start writeout asynchronously */ - lttng_sync_file_range(outfd, stream->out_fd_offset, ret, + sync_file_range(outfd, stream->out_fd_offset, ret, SYNC_FILE_RANGE_WRITE); stream->out_fd_offset += ret; }