aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
authorMark Brown <broonie@kernel.org>2026-05-29 12:59:20 +0100
committerMark Brown <broonie@kernel.org>2026-05-29 12:59:20 +0100
commit26da87fd412077a278884c397ef65fd33dabaf58 (patch)
treed85478dda73e54670dc0ca34a98e216b3b1d5552 /include
parentc2c3ead1e71425082397ef2e887a5ae2d2a47cdf (diff)
parentc0b65f6129c7fbb526e921dd60261650f1b2bef9 (diff)
downloadlinux-next-history-26da87fd412077a278884c397ef65fd33dabaf58.tar.gz
Merge branch 'dev' of https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git
Diffstat (limited to 'include')
-rw-r--r--include/trace/events/f2fs.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/include/trace/events/f2fs.h b/include/trace/events/f2fs.h
index b5188d2671d73..270c1a2c24c44 100644
--- a/include/trace/events/f2fs.h
+++ b/include/trace/events/f2fs.h
@@ -2595,6 +2595,34 @@ DEFINE_EVENT(f2fs_priority_update, f2fs_priority_restore,
TP_ARGS(sbi, lock_name, is_write, p, orig_prio, new_prio)
);
+TRACE_EVENT(f2fs_fault_report,
+
+ TP_PROTO(struct super_block *sb, unsigned int err_code,
+ const char *func, unsigned int data),
+
+ TP_ARGS(sb, err_code, func, data),
+
+ TP_STRUCT__entry(
+ __field(dev_t, dev)
+ __field(unsigned int, err_code)
+ __string(func, func)
+ __field(unsigned int, data)
+ ),
+
+ TP_fast_assign(
+ __entry->dev = sb->s_dev;
+ __entry->err_code = err_code;
+ __assign_str(func);
+ __entry->data = data;
+ ),
+
+ TP_printk("dev = (%d,%d), err_code = %u, func = %s, data = %u",
+ show_dev(__entry->dev),
+ __entry->err_code,
+ __get_str(func),
+ __entry->data)
+);
+
#endif /* _TRACE_F2FS_H */
/* This part must be outside protection */