Actions
Bug #431
closedFix instrumentation for 3.8
Start date:
01/24/2013
Due date:
% Done:
0%
Estimated time:
Description
Compilation of lttng-modules fails with the latest kernel. Tracepoints arguments changed in linux 3.8, for instance in ext4.h:
- trace_ext4_ext_map_blocks_exit
- trace_ext4_ext_handle_uninitialized_extents
Updated by Francis Giraldeau almost 12 years ago
Please look at the following branches on github.
https://github.com/giraldeau/lttng-modules/tree/update-3.8
https://github.com/giraldeau/lttng-modules/tree/update-v3.8-bundle
commit 3d2bc2d8f61b365660cc5acf1a5dfc49d49946f3 Author: Francis Giraldeau <francis.giraldeau@gmail.com> Date: Fri Jan 25 13:20:18 2013 -0500 Sync current instrumentation for linux 3.8 The patch bundles following changes: * Sync ext4, rcu, btrfs mainline header * b564553 ext4: print 'flags' in ext4_ext_handle_uninitialized_extents * 19b303d ext4: print map->m_flags in trace_ext4_ext/ind_map_blocks_exit * 992e9fd ext4: add some tracepoints in extent status tree * fb57dc8 Btrfs: parse parent 0 into correct value in tracepoint This fix also apply to previous kernel version, thus no conditional is required. * 4520fb3 ext4: split off ext4_journalled_invalidatepage() * Add required includes for ext4 tracepoints. The function ext4_ext_get_actual_len() called from ext4 tracepoints requires additional includes.
Updated by David Goulet almost 12 years ago
I just encountered that indeed. Here is a pastebin with the compile errors.
Updated by Francis Giraldeau over 11 years ago
The current instrumentation is now synced to 3.9, thus this issue can be closed.
Updated by Mathieu Desnoyers over 11 years ago
- Status changed from New to Resolved
Actions