simd_stat: fix undefined CONFIG_KERNEL_MODE_NEON error on armel
[zfs.git] / contrib / bpftrace / zfs-trace.sh
blob0165335c474b0ad6de65e04e5719d7472b382561
1 #!/bin/sh
3 read -r ZVER < /sys/module/zfs/version
4 ZVER="${ZVER%%-*}"
5 KVER=$(uname -r)
7 exec bpftrace \
8 --include "/usr/src/zfs-$ZVER/$KVER/zfs_config.h" \
9 -I "/usr/src/zfs-$ZVER/include" \
10 -I "/usr/src/zfs-$ZVER/include/spl" \
11 "$@"