summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_trace.c
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2021-08-10 17:00:54 -0700
committerDarrick J. Wong <djwong@kernel.org>2021-08-18 18:46:00 -0700
commit7f89c838396e2e5b484dd59cdd59eb990a79fd9a (patch)
tree0aa8b83f4654376497f0117e0a31c3d4be7b77c0 /fs/xfs/xfs_trace.c
parent54406764c6a6ce6d7468934e09f0463e4e05433b (diff)
downloadlinux-7f89c838396e2e5b484dd59cdd59eb990a79fd9a.tar.bz2
xfs: add trace point for fs shutdown
Add a tracepoint for fs shutdowns so we can capture that in ftrace output. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/xfs_trace.c')
-rw-r--r--fs/xfs/xfs_trace.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/xfs_trace.c b/fs/xfs/xfs_trace.c
index 4c86afad1617..d269ef57ff01 100644
--- a/fs/xfs/xfs_trace.c
+++ b/fs/xfs/xfs_trace.c
@@ -33,6 +33,7 @@
#include "xfs_icache.h"
#include "xfs_ag.h"
#include "xfs_ag_resv.h"
+#include "xfs_error.h"
/*
* We include this last to have the helpers above available for the trace