pmcstat assumes that the kernel modules can all be found in the same
place as the kernel itself. This is not necessarily true in all
Since the kern.module_path sysctl provides the list of paths that the
kernel uses to find kernel modules, it would be better to use that
list (in addition to the existing assumption) to determine the paths
to use when searching for kernel modules.
This set of changes the uses kern.module_path list as a default for
the paths to search. Also, the -K flag has been added to allow the
user to override the default search paths.