[lttng-dev] lttng-modules build failure on 4.8-rc2

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Tue Aug 30 22:43:56 UTC 2016


Fixed by this string of commits. Backported to stable-2.8:

commit fcd0a11cf26fe7517e84989c78b2664bbe34bb63
Author: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
Date:   Tue Aug 30 17:32:35 2016 -0400

    Fix: btrfs instrumentation for 4.8 kernel
    
    Note: there are missing events.
    
    Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>

commit b264182159c583d5f015849c349a3b819ce7f746
Author: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
Date:   Tue Aug 30 17:13:37 2016 -0400

    Fix: update mm_vmscan instrumentation for kernel 4.8
    
    Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>

commit 9e8691779f3424318ad4925d444ebe959038ec2b
Author: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
Date:   Tue Aug 30 17:02:09 2016 -0400

    Fix: napi instrumentation for 4.8 kernels
    
    Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>

commit e6d2cc09300c7e46f6ea66259cbbec92138379e1
Author: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
Date:   Tue Aug 30 16:59:13 2016 -0400

    Fix: update block instrumentation to compile on 4.8 kernels
    
    These 2 upstream Linux commits break the block instrumentation in lttng
    modules master:
    
    https://github.com/torvalds/linux/commit/4e1b2d52a80d79296a5d899d73249748dea71a53
    
    https://github.com/torvalds/linux/commit/288dab8a35a0bde426a09870943c8d3ee3a50dab
    
    The errors are :
    
    lttng-modules/probes/../instrumentation/events/lttng-module/block.h:35:13:
    error: ‘REQ_DISCARD’ undeclared (first use in this function)
    
    lttng-modules/probes/../instrumentation/events/lttng-module/block.h:41:14:
    error: ‘REQ_SECURE’ undeclared (first use in this function)
    
    Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>


----- On Aug 25, 2016, at 1:53 PM, Michael Jeanson mjeanson at efficios.com wrote:

> Hi,
> 
> These 2 commits break the block instrumentation in lttng modules master :
> 
> https://github.com/torvalds/linux/commit/4e1b2d52a80d79296a5d899d73249748dea71a53
> 
> https://github.com/torvalds/linux/commit/288dab8a35a0bde426a09870943c8d3ee3a50dab
> 
> The errors are :
> 
> lttng-modules/probes/../instrumentation/events/lttng-module/block.h:35:13:
> error: ‘REQ_DISCARD’ undeclared (first use in this function)
> 
> lttng-modules/probes/../instrumentation/events/lttng-module/block.h:41:14:
> error: ‘REQ_SECURE’ undeclared (first use in this function)
> 
> I tried fixing it but this is out of the scope of my kernel fu.
> 
> Michael
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

-- 
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com


More information about the lttng-dev mailing list