LTTng 0.199 for Linux 2.6.33
Hi everyone,
I just released an updated LTTng tree/tarball that is now based on the 2.6.33 kernel. As always, comments and testing results are welcome.
Website:
http://lttng.org
Kernel tree:
http://git.kernel.org/?p=linux/kernel/git/compudj/linux-2.6-lttng.gitgit://git.kernel.org/pub/scm/linux/kernel/git/compudj/linux-2.6-lttng.git
Tarballs:
http://lttng.org/files/lttng/patch-2.6.33-lttng-0.199.tar.bz2
There has been some changes in the way splice() works between 2.6.32 and 2.6.33 (commit cc56f7de7f00d188c7c4da1e9861581853b9e92f). It now checks for NULL llseek fop in addition to check for the no_llseek. In LTTng, we use the offset value directly in our own implementation of the splice_read fop, so there is no point in having a llseek fop. The solution I used to bypass this check is to create my own copy of "no_llseek" in ltt-relay-splice.c, which does basically nothing, but makes do_splice() happy.
Thanks,
Mathieu
Signature · 4 lines
Mathieu Desnoyers Operating System Efficiency Consultant EfficiOS Inc. http://www.efficios.com