From a04900a790d5cfe88a96815ebf2bef1ba4399f45 Mon Sep 17 00:00:00 2001 From: Suchakra Sharma Date: Fri, 17 Oct 2014 15:51:50 -0400 Subject: [PATCH] fedora: add procedure to install LTTng-modules --- .../desktop-distributions/fedora.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/contents/installing-lttng/desktop-distributions/fedora.md b/contents/installing-lttng/desktop-distributions/fedora.md index e6cecbc..44e4979 100644 --- a/contents/installing-lttng/desktop-distributions/fedora.md +++ b/contents/installing-lttng/desktop-distributions/fedora.md @@ -10,5 +10,17 @@ sudo yum install lttng-tools sudo yum install lttng-ust -LTTng-modules still needs to be built and installed -[from source](#doc-building-from-source). +LTTng-modules still needs to be built and installed from source. For that, +make sure that the `kernel-devel` package is already installed beforehand: + +
+sudo yum install kernel-devel
+
+ +Proceed on to fetch [LTTng-modules' source](#doc-building-from-source). +Build and install it as follows: + +
+KERNELDIR=/usr/src/kernels/$(uname -r) make
+sudo make modules_install
+
-- 2.34.1