From mboxrd@z Thu Jan 1 00:00:00 1970 From: mathieu.desnoyers@efficios.com (Mathieu Desnoyers) Date: Tue, 30 Aug 2016 22:43:56 +0000 (UTC) Subject: [lttng-dev] lttng-modules build failure on 4.8-rc2 In-Reply-To: <7c042582-e513-bf0c-b82a-04f8dbfdc8c6@efficios.com> References: <7c042582-e513-bf0c-b82a-04f8dbfdc8c6@efficios.com> Message-ID: <52749849.31156.1472597036425.JavaMail.zimbra@efficios.com> Fixed by this string of commits. Backported to stable-2.8: commit fcd0a11cf26fe7517e84989c78b2664bbe34bb63 Author: Mathieu Desnoyers 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 commit b264182159c583d5f015849c349a3b819ce7f746 Author: Mathieu Desnoyers Date: Tue Aug 30 17:13:37 2016 -0400 Fix: update mm_vmscan instrumentation for kernel 4.8 Signed-off-by: Mathieu Desnoyers commit 9e8691779f3424318ad4925d444ebe959038ec2b Author: Mathieu Desnoyers Date: Tue Aug 30 17:02:09 2016 -0400 Fix: napi instrumentation for 4.8 kernels Signed-off-by: Mathieu Desnoyers commit e6d2cc09300c7e46f6ea66259cbbec92138379e1 Author: Mathieu Desnoyers 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 ----- 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