Add kernel module version validation
authorDavid Goulet <dgoulet@efficios.com>
Sun, 22 Jan 2012 21:11:11 +0000 (16:11 -0500)
committerDavid Goulet <dgoulet@efficios.com>
Sun, 22 Jan 2012 21:11:11 +0000 (16:11 -0500)
commit096102bd1f0665d96f75ad12410ea23189fbf861
tree6197a1aeeb0e5bd8173bf185fbe67bf7da756d37
parent394016d17dedc581b892f2ca7889f715c77a08fd
Add kernel module version validation

The session daemon now checks if the kernel modules are compatible
whenever it tries to load them.

Introduce modprobe.c/.h and kern-modules.h that contains the lttng
modules information and function to load/remove them. Also add a call to
kernel.c for kernel version validation.

Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-sessiond/Makefile.am
src/bin/lttng-sessiond/kern-modules.h [new file with mode: 0644]
src/bin/lttng-sessiond/kernel.c
src/bin/lttng-sessiond/kernel.h
src/bin/lttng-sessiond/lttng-sessiond.h
src/bin/lttng-sessiond/main.c
src/bin/lttng-sessiond/modprobe.c [new file with mode: 0644]
src/bin/lttng-sessiond/modprobe.h [new file with mode: 0644]
This page took 0.034227 seconds and 4 git commands to generate.