X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=probes%2Flttng-probe-btrfs.c;h=52f8cfe4372250ea27fa3b6841047af7f6322dbd;hb=21709130eaa52d640a6a26b9a9a21e5bbdef37cf;hp=89fa35178fa278c7120cd1b078a53bf959cb9b17;hpb=156a3977f8fa114924d7bbd2bd04c94fd2ac0649;p=lttng-modules.git diff --git a/probes/lttng-probe-btrfs.c b/probes/lttng-probe-btrfs.c index 89fa3517..52f8cfe4 100644 --- a/probes/lttng-probe-btrfs.c +++ b/probes/lttng-probe-btrfs.c @@ -23,9 +23,13 @@ #include #include +#include #include <../fs/btrfs/ctree.h> #include <../fs/btrfs/transaction.h> #include <../fs/btrfs/volumes.h> +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,4,0)) +#include <../fs/btrfs/block-group.h> +#endif #include #include