diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-02-20 16:41:03 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:09:54 -0400 |
commit | e151580d3072e7326732edcaf2a77ea423c695f5 (patch) | |
tree | ef9e75a7c1e7e3b1fe7d71eecde8c271bbcc5de3 /fs/bcachefs/trace.h | |
parent | 930256d4fbe7b8dee8f1a1658630655d8c6043f8 (diff) | |
download | linux-stable-e151580d3072e7326732edcaf2a77ea423c695f5.tar.gz linux-stable-e151580d3072e7326732edcaf2a77ea423c695f5.tar.bz2 linux-stable-e151580d3072e7326732edcaf2a77ea423c695f5.zip |
bcachefs: Add tracepoint & counter for btree split race
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/trace.h')
-rw-r--r-- | fs/bcachefs/trace.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/bcachefs/trace.h b/fs/bcachefs/trace.h index 30b10908ced0..f608baec294a 100644 --- a/fs/bcachefs/trace.h +++ b/fs/bcachefs/trace.h @@ -837,6 +837,12 @@ DEFINE_EVENT(transaction_event, trans_restart_injected, TP_ARGS(trans, caller_ip) ); +DEFINE_EVENT(transaction_event, trans_restart_split_race, + TP_PROTO(struct btree_trans *trans, + unsigned long caller_ip), + TP_ARGS(trans, caller_ip) +); + DEFINE_EVENT(transaction_event, trans_blocked_journal_reclaim, TP_PROTO(struct btree_trans *trans, unsigned long caller_ip), |