summaryrefslogtreecommitdiffstats
path: root/package/lttng-tools/lttng-tools-no-sync-file-range-in-uclibc.patch
diff options
context:
space:
mode:
authorSamuel Martin <s.martin49@gmail.com>2013-01-19 01:03:46 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-01-20 21:26:30 +0100
commit9cb4e19a136a9172228fd546562fd715be30b675 (patch)
tree3fcd120fd518f2ed2d8013bb5166a4761f7aa931 /package/lttng-tools/lttng-tools-no-sync-file-range-in-uclibc.patch
parent0a714acf56e470257daa0c9fab9cc61a65eba8bf (diff)
downloadbuildroot-novena-9cb4e19a136a9172228fd546562fd715be30b675.tar.gz
buildroot-novena-9cb4e19a136a9172228fd546562fd715be30b675.zip
lttng-tools: bump to version 2.1.1
* remove lttng-tools-Support-new-lttng-ust-error-code.patch (tarball fixed) * remove lttng-tools-no-sync-file-range-in-uclibc.patch (merged upstream) Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/lttng-tools/lttng-tools-no-sync-file-range-in-uclibc.patch')
-rw-r--r--package/lttng-tools/lttng-tools-no-sync-file-range-in-uclibc.patch51
1 files changed, 0 insertions, 51 deletions
diff --git a/package/lttng-tools/lttng-tools-no-sync-file-range-in-uclibc.patch b/package/lttng-tools/lttng-tools-no-sync-file-range-in-uclibc.patch
deleted file mode 100644
index fcaaa3e32..000000000
--- a/package/lttng-tools/lttng-tools-no-sync-file-range-in-uclibc.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-Make sync_file_range() usage optional
-
-Under uClibc, sync_file_range() is not available under all
-architectures, so we fall back to fdatasync() in this case.
-
-Inspired by the patch done by Thomas Petazzoni for the
-2.0-pre25 version.
-
-Signed-off-by: Samuel Martin <s.martin49@gmail.com>
----
- configure.ac | 2 +-
- src/common/compat/fcntl.h | 5 +++++
- 2 files changed, 6 insertions(+), 1 deletion(-)
-
-diff --git a/configure.ac b/configure.ac
-index 5808c79..065b9cf 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -150,7 +150,7 @@ AS_IF([test "x$lttng_ust_support" = "xyes"], [
- )
- ])
- AM_CONDITIONAL([HAVE_LIBLTTNG_UST_CTL], [test "x$lttng_ust_ctl_found" = xyes])
--AC_CHECK_FUNCS([sched_getcpu sysconf])
-+AC_CHECK_FUNCS([sched_getcpu sysconf sync_file_range])
-
- # check for dlopen
- AC_CHECK_LIB([dl], [dlopen],
-@@ -394,4 +394,3 @@ AS_IF([test "x$consumerd_only" = "xno"],[
- ])
-
- AS_ECHO()
--
-diff --git a/src/common/compat/compat-fcntl.c b/src/common/compat/compat-fcntl.c
-index 5a1c757..7ff63a3 100644
---- a/src/common/compat/compat-fcntl.c
-+++ b/src/common/compat/compat-fcntl.c
-@@ -23,7 +23,11 @@
- int compat_sync_file_range(int fd, off64_t offset, off64_t nbytes,
- unsigned int flags)
- {
-+#ifdef HAVE_SYNC_FILE_RANGE
- return sync_file_range(fd, offset, nbytes, flags);
-+#else
-+ return fdatasync(fd);
-+#endif
- }
-
- #endif /* __linux__ */
---
-1.8.0.3
-