Skip to contentSkip to conversation

libceph: dump class and method names on method calls

PATCH New Ilya Dryomov 1 participant 1 message Jun 16, 2020 Ceph common code (libceph)

lore
Share & tools
lore

Ilya Dryomov

author maintainer
#0 lore raw

PATCH 1/1 libceph: dump class and method names on method calls

---
 net/ceph/debugfs.c | 3 +++
 1 file changed, 3 insertions(+)
net/ceph/debugfs.c +3 -0
index 409d505ff320..2110439f8a24 100644
@@ -223,6 +223,9 @@ static void dump_request(struct seq_file *s, struct ceph_osd_request *req)
 		if (op->op == CEPH_OSD_OP_WATCH)
 			seq_printf(s, "-%s",
 				   ceph_osd_watch_op_name(op->watch.op));
+		else if (op->op == CEPH_OSD_OP_CALL)
+			seq_printf(s, "-%s/%s", op->cls.class_name,
+				   op->cls.method_name);
 	}
 
 	seq_putc(s, '\n');
Signature · 1 line
2.19.2