X-Git-Url: http://git.liburcu.org/?p=lttng-modules.git;a=blobdiff_plain;f=probes%2Flttng-probe-btrfs.c;h=69e69aaffd6c0ac222b1a46b637f3091f4c20498;hp=b531197652a5627f01a2f8c73ff5482ed2036201;hb=bcdb112e1b73658b7b0d2be7a8cb6db42eb7191d;hpb=9dc6f9ba123c0979dc2572e7ba8df7b66982a76c diff --git a/probes/lttng-probe-btrfs.c b/probes/lttng-probe-btrfs.c index b5311976..69e69aaf 100644 --- a/probes/lttng-probe-btrfs.c +++ b/probes/lttng-probe-btrfs.c @@ -10,9 +10,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