zfs/module/os/linux
Rob Norris 0dd0a2d302 linux/kstat: allow multi-level module names
Module names are mapped directly to directory names in procfs, but
nothing is done to create the intermediate directories, or remove them.
This makes it impossible to sensibly present kstats about sub-objects.

This commit loops through '/'-separated names in the full module name,
creates a separate module for each, and hooks them up with a parent
pointer and child counter, and then unrolls this on the other side when
deleting a module.

Sponsored-by: Klara, Inc.
Sponsored-by: Syneto
Signed-off-by: Rob Norris <rob.norris@klarasystems.com>
2024-05-22 09:41:55 +10:00
..
spl linux/kstat: allow multi-level module names 2024-05-22 09:41:55 +10:00
zfs zdb/ztest: send dbgmsg output to stderr 2024-05-14 09:49:00 -07:00