summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2020-06-16 09:58:49 +0200
committerIlya Dryomov <idryomov@gmail.com>2020-08-03 11:03:01 +0200
commit6e6f0f0116079d6be42080064fe7079283a507ed (patch)
tree92b5c46aa0309f54cea8ac37c42ccd3c76631329
parent5133ba8f15911e98567cdb6b767be8080a636b0b (diff)
downloadlinux-stable-6e6f0f0116079d6be42080064fe7079283a507ed.tar.gz
linux-stable-6e6f0f0116079d6be42080064fe7079283a507ed.tar.bz2
linux-stable-6e6f0f0116079d6be42080064fe7079283a507ed.zip
libceph: dump class and method names on method calls
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
-rw-r--r--net/ceph/debugfs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/ceph/debugfs.c b/net/ceph/debugfs.c
index 409d505ff320..2110439f8a24 100644
--- a/net/ceph/debugfs.c
+++ b/net/ceph/debugfs.c
@@ -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');