HomeFreeBSD

libdtrace: get rid of illumos ifdefs in dt_module_update(), fix dm_file and…

Description

libdtrace: get rid of illumos ifdefs in dt_module_update(), fix dm_file and dm_modid

Because dt_module_update() is highly OS-specific, the ifdefs make it
hard to read and follow what is going on. Also handle dm_modid, and
remove handling of the ".filename" section, since we can easily fetch
the filename from the module's pathname (k_stat->pathname).

Reviewed by: markj
Approved by: markj (mentor)
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D39177

Details

Provenance
christosAuthored on May 23 2023, 12:54 PM
Reviewer
markj
Differential Revision
D39177: libdtrace: get rid of illumos ifdefs in dt_module_update(), fix dm_file and dm_modid
Parents
rG108230743472: pwd.1: replace /home with /sys in example
Branches
Unknown
Tags
Unknown