aboutsummaryrefslogtreecommitdiffstats
path: root/pkg
diff options
context:
space:
mode:
Diffstat (limited to 'pkg')
-rw-r--r--pkg/mgrconfig/config.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkg/mgrconfig/config.go b/pkg/mgrconfig/config.go
index dd67c3d8f..5400ad952 100644
--- a/pkg/mgrconfig/config.go
+++ b/pkg/mgrconfig/config.go
@@ -41,8 +41,10 @@ type Config struct {
// Directory with kernel object files (e.g. `vmlinux` for linux)
// (used for report symbolization, coverage reports and in tree modules finding, optional).
KernelObj string `json:"kernel_obj"`
- // Directories for unstripped kernel module object files (optional)
- // It's needed for out-of-tree module build in order to find ko files automatically
+ // Directories with out-of-free kernel module object files (optional).
+ // KernelObj is also scanned for in-tree kernel modules and does not need to be duplicated here.
+ // Note: KASLR needs to be disabled and modules need to be pre-loaded at fixed addressses by init process.
+ // Note: the modules need to be unstripped and contain debug info.
ModuleObj []string `json:"module_obj"`
// Kernel source directory (if not set defaults to KernelObj).
KernelSrc string `json:"kernel_src,omitempty"`