Skip to content

Unfriendly assertion on invalid/missing kernel configuration #74

@thesamesam

Description

@thesamesam

On a machine with incorrect kernel configuration, we get:

# dtrace -v
dtrace: libdtrace/dt_module.c:844: dt_kern_module_ctf_from_btf: Assertion `dmp->dm_btf != NULL' failed.
Aborted (core dumped)

The assertion is right to fire, but we should give a nicer error message before getting there, especially as people (like me there!) default to -v instead of -V for version information. (-V does work OK).

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions