Bug #431
closed
Fix instrumentation for 3.8
Added by Francis Giraldeau almost 12 years ago.
Updated over 11 years ago.
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
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.
The current instrumentation is now synced to 3.9, thus this issue can be closed.
- Status changed from New to Resolved
Also available in: Atom
PDF