From: David Goulet Date: Thu, 7 Jul 2011 14:29:19 +0000 (-0400) Subject: Add detection of debugfs and kernel module loading X-Git-Tag: v2.0-pre1~50 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=b73401da87657682c2b51665a6fd1950f5c362f1;hp=b73401da87657682c2b51665a6fd1950f5c362f1 Add detection of debugfs and kernel module loading The session daemon now detects the path of the debugfs mount point or create and mount it at a default location (/mnt/debugfs). Then, the kernel module are loaded automatically, if present, and the kernel tracer fd is opened at the previous detected debugfs path. The kernel module list is hardcoded for now. NOTE: There is no module unload at the session daemon cleanup. This is to avoid removing tracing capabilities when a trace is ongoing and written to disk. Signed-off-by: David Goulet ---