Skip to contentSkip to conversation

lttng-modules build failure on 4.8-rc2

DISCUSSION Mathieu Desnoyers 1 participant 1 message Aug 30, 2016 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

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

commit fcd0a11cf26fe7517e84989c78b2664bbe34bb63

Author: Mathieu Desnoyers <[email protected]>
Date:   Tue Aug 30 17:32:35 2016 -0400

Fix: btrfs instrumentation for 4.8 kernel

Note: there are missing events.

commit b264182159c583d5f015849c349a3b819ce7f746

Author: Mathieu Desnoyers <[email protected]>
Date:   Tue Aug 30 17:13:37 2016 -0400

Fix: update mm_vmscan instrumentation for kernel 4.8

commit 9e8691779f3424318ad4925d444ebe959038ec2b

Author: Mathieu Desnoyers <[email protected]>
Date:   Tue Aug 30 17:02:09 2016 -0400

Fix: napi instrumentation for 4.8 kernels

commit e6d2cc09300c7e46f6ea66259cbbec92138379e1

Author: Mathieu Desnoyers <[email protected]>
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)

Quoted 23 lines · ----- On Aug 25, 2016, at 1:53 PM, Michael Jeanson [email protected] 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
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Signature · 7 lines
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com
_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev