/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) * * probes/lttng-probe-btrfs.c * * LTTng btrfs probes. * * Copyright (C) 2010-2012 Mathieu Desnoyers * Copyright (C) 2012 Mentor Graphics Corp. */ #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 /* * Create the tracepoint static inlines from the kernel to validate that our * trace event macros match the kernel we run on. */ #include /* * Create LTTng tracepoint probes. */ #define LTTNG_PACKAGE_BUILD #define CREATE_TRACE_POINTS #define TRACE_INCLUDE_PATH instrumentation/events/lttng-module #include MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Andrew Gabbasov "); MODULE_DESCRIPTION("LTTng btrfs probes"); MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." __stringify(LTTNG_MODULES_MINOR_VERSION) "." __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) LTTNG_MODULES_EXTRAVERSION);