Skip to contentSkip to conversation

Btrfs: Add OPER_SUB_SUBTREE to the list of operation types to be displayed in a trace.

PATCH New Chandan Rajendra 1 participant 1 message Apr 24, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Btrfs: Add OPER_SUB_SUBTREE to the list of operation types to be displayed in a trace.

BTRFS_QGROUP_OPER_SUB_SUBTREE is missing from the list of operation types that will be displayed in a trace. Fix this.

---
 include/trace/events/btrfs.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
include/trace/events/btrfs.h +2 -1
index 1faecea..7a51ec3 100644
@@ -1122,7 +1122,8 @@ DEFINE_EVENT(btrfs__workqueue_done, btrfs_workqueue_destroy,
 		{ BTRFS_QGROUP_OPER_ADD_EXCL, 	"OPER_ADD_EXCL" },	\
 		{ BTRFS_QGROUP_OPER_ADD_SHARED, "OPER_ADD_SHARED" },	\
 		{ BTRFS_QGROUP_OPER_SUB_EXCL, 	"OPER_SUB_EXCL" },	\
-		{ BTRFS_QGROUP_OPER_SUB_SHARED,	"OPER_SUB_SHARED" })
+		{ BTRFS_QGROUP_OPER_SUB_SHARED,	"OPER_SUB_SHARED" },	\
+		{ BTRFS_QGROUP_OPER_SUB_SUBTREE,"OPER_SUB_SUBTREE" })
 
 DECLARE_EVENT_CLASS(btrfs_qgroup_oper,
 
Signature · 1 line
2.1.0