From 8ad9358a9217a090844ca35c21939fdb0111b201 Mon Sep 17 00:00:00 2001 From: jxy_git Date: Sat, 1 Jul 2023 13:49:17 +0800 Subject: [PATCH] Identify and distinguish between different file system types --- src/fsslower/fsslower.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/fsslower/fsslower.c diff --git a/src/fsslower/fsslower.c b/src/fsslower/fsslower.c new file mode 100644 index 00000000..3fa93a41 --- /dev/null +++ b/src/fsslower/fsslower.c @@ -0,0 +1,15 @@ +// SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) +#include "commons.h" +#include "fsslower.h" +#include "fsslower.skel.h" +#include "btf_helpers.h" +#include "trace_helpers.h" +#include + +enum fs_type { + NONE, + BTRFS, + EXT4, + NFS, + XFS, +}; -- Gitee