mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-17 10:01:01 +03:00
e09318829b
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Pavel Zakharov <pavel.zakharov@delphix.com> Reviewed-by: Ryan Moeller <ryan@iXsystems.com> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #11859
11 lines
226 B
Bash
Executable File
11 lines
226 B
Bash
Executable File
#!/bin/sh
|
|
|
|
ZVER=$(cut -f 1 -d '-' /sys/module/zfs/version)
|
|
KVER=$(uname -r)
|
|
|
|
exec bpftrace \
|
|
--include "/usr/src/zfs-$ZVER/$KVER/zfs_config.h" \
|
|
-I "/usr/src/zfs-$ZVER/include" \
|
|
-I "/usr/src/zfs-$ZVER/include/spl" \
|
|
"$@"
|