]> code.ossystems Code Review - openembedded-core.git/commit
lttng-modules: Fix do_compile failure for btrfs related tracepoints
authorHe Zhe <zhe.he@windriver.com>
Tue, 10 Jul 2018 10:03:42 +0000 (18:03 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 18 Jul 2018 09:09:29 +0000 (10:09 +0100)
commitc1daa5c0b89cdfab15d2fa093b021b2ce0937dad
tree3b8ee7151cc13df65dc4bc5fb990f36d69acd02f
parenta6fd20fc57da3e1910e775f5994bd71bf79934ea
lttng-modules: Fix do_compile failure for btrfs related tracepoints

Building lttng-modules with linux-yocto-dev will cause do_compile
failure:

lttng-modules/2.10.6-r0/lttng-modules-2.10.6/probes/../probes/lttng-tracepoint-event-impl.h:143:6: error: conflicting types for 'trace_btrfs_reserve_extent'
 void trace_##_name(_proto);
      ^~~~~~

The following commit from latest mainline kernel changes some btrfs
functions' prototype.

3dca5c942dac60164e6a6e89172f25b86af07ce7
"btrfs: trace: Remove unnecessary fs_info parameter for btrfs__reserve_extent event class"

This patch backports a commit from upstream to meet the above changes.

51ab0b1da29354375a19f865abcd233dd2178295
"Fix: btrfs: Remove unnecessary fs_info parameter"

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-kernel/lttng/lttng-modules/0001-Fix-btrfs-Remove-unnecessary-fs_info-parameter.patch [new file with mode: 0644]
meta/recipes-kernel/lttng/lttng-modules_2.10.6.bb