Kernel SDT probes should be more modular
Currently, all kernel SDT probes across all modules must define their SDT probe arguments in
usr/src/uts/dtrace/sdt_subr.c in order for dtrace to be aware of the types of the probe's arguments. This high degree of coupling seems less than ideal.
Ideally, a kernel module would register its SDT probes (including the argument types) during attachment or in its
_init method in some manner. That way
sdc_subr.c would not need to be aware of every kernel module in existence that uses SDT probes.