Document ZFS_DKMS_ENABLE_DEBUGINFO in userland configuration #9191
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Document the
ZFS_DKMS_ENABLE_DEBUGINFO
option in the userlandconfiguration file, as done with the other
ZFS_DKMS_*
options.It has been introduced with commit e45c173 ("dkms: Enable
debuginfo option to be set with zfs sysconfig file") but isn't
mentioned anywhere other than the
dkms.conf
file (generated).Motivation and Context
The option to enable debuginfo in kernel modules built with DKMS
is not directly exposed to the user in the userland configuration file,
differently from other, existing options for similar purposes.
Even though a slightly more advanced user (who cares about debug
symbols, or has been asked to enable/build them) eventually can
figure out the
dkms.conf
file, this is certainly not too straighforward.Since other, similar options are already in there, just add this one too.
Description
This exposes the
ZFS_DKMS_ENABLE_DEBUGINFO
option(consumed by
scripts/dkms.mkconf
to generate adkms.conf
file)in the userland configuration file, similarly to other related options.
How Has This Been Tested?
This has been tested by checking for
.gnu_debuginfo
section in kernel modulesbuilt with DKMS before/after enabling this option (plus option to disable stripping),
and confirming the debug symbol information matched the source code lines.
(please see
Testing
section below.)Types of changes
Checklist:
Signed-off-by
.Testing
Before:
After: