Project

General

Profile

Actions

Bug #431

closed

Fix instrumentation for 3.8

Added by Francis Giraldeau almost 12 years ago. Updated over 11 years ago.

Status:
Resolved
Priority:
Critical
Target version:
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
Actions #1

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.
Actions #2

Updated by David Goulet almost 12 years ago

I just encountered that indeed. Here is a pastebin with the compile errors.

http://pastebin.com/fJbzcFqq

Actions #3

Updated by Francis Giraldeau over 11 years ago

The current instrumentation is now synced to 3.9, thus this issue can be closed.

Actions #4

Updated by Mathieu Desnoyers over 11 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF