Add libkmod rmmod support
authorMichael Jeanson <mjeanson@efficios.com>
Fri, 12 Feb 2016 21:31:46 +0000 (16:31 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 16 Mar 2016 18:54:56 +0000 (14:54 -0400)
commit866c17cef5ab4305d0087cf2823e92f0057904c0
treef95036acbe50867b2da541450870f56d75f3c906
parent35e090b7b37c53e911e61007d0d08e424ab39470
Add libkmod rmmod support

We previously had support to load modules with libkmod but we always
unload modules by calling the modprobe binary.

This patch adds the libkmod module unloading which is faster and gives
us better error handling. This implementation also graciously handles
built-in lttng kernel modules.

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/modprobe.c
This page took 0.025377 seconds and 4 git commands to generate.