mirror_zfs/tests/zfs-tests/include
Rob Norris 722cf7bfd5 ZTS: reimplement kstat helper function
The old kstat helper function was barely used, I suspect in part because
it was very limited in the kinds of kstats it could gather.

This adds new functions to replace it, for each kind of thing that can
have stats: global, pool and dataset. There's options in there to get a
single stat value, or all values within a group.

Most importantly, the interface is the same for both platforms.

Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc.
Signed-off-by: Rob Norris <rob.norris@klarasystems.com>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
2025-01-21 10:12:07 -08:00
..
.gitignore Add zpool events tests 2017-05-22 12:34:42 -04:00
blkdev.shlib ZTS: Remove non-standard awk hex numbers usage 2024-12-29 11:17:27 -08:00
commands.cfg ZTS: Add LUKS sanity test 2024-10-25 09:07:44 -07:00
default.cfg.in Allowing PERFPOOL to be defined by zfs-test users 2024-02-09 10:02:46 -08:00
kstat.shlib ZTS: reimplement kstat helper function 2025-01-21 10:12:07 -08:00
libtest.shlib ZTS: reimplement kstat helper function 2025-01-21 10:12:07 -08:00
math.shlib Block cloning tests. 2023-12-26 12:01:53 -08:00
properties.shlib snapdir: add 'disabled' value to make .zfs inaccessible 2024-10-02 09:12:02 -07:00
tunables.cfg Defer resilver only when progress is above a threshold 2024-10-04 10:41:17 -07:00
zpool_script.shlib tests: review every awk(1) invocation 2022-04-01 17:57:55 -07:00