Fix: remove regmap instrumentation for kernels < 4.1
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 26 May 2015 19:22:01 +0000 (15:22 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 26 May 2015 19:29:07 +0000 (15:29 -0400)
commitc8ad610bc3d41482f620af4df502e6f07126930f
tree831191d7b81015c6461be70efb14824d9ae03c72
parent055d1079cb36cdf4477275150e0dfaa9c356fa8f
Fix: remove regmap instrumentation for kernels < 4.1

Modifications to regmap.h instrumentation in mainline Linux kernel has
been no less than erratic. First, the public instrumentation header
regmap.h include a private driver header in Linux 4.0. Then, regmap.h
is moved to the private driver directory in Linux 4.1. To make things
worse, the 4.0 commit has been picked into stable branches of the Linux
kernel.

Since this does not appear to be an instrumentation of utmost
importance, only build this instrumentation probe if the private header
is found in the driver directory (need full kernel sources).

This removes regmap instrumentation for older kernels.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
instrumentation/events/lttng-module/regmap.h
probes/Makefile
probes/lttng-probe-regmap.c
This page took 0.026102 seconds and 4 git commands to generate.