Commit 6e6f0f01 authored by Ilya Dryomov's avatar Ilya Dryomov

libceph: dump class and method names on method calls

Signed-off-by: default avatarIlya Dryomov <idryomov@gmail.com>
parent 5133ba8f
...@@ -223,6 +223,9 @@ static void dump_request(struct seq_file *s, struct ceph_osd_request *req) ...@@ -223,6 +223,9 @@ static void dump_request(struct seq_file *s, struct ceph_osd_request *req)
if (op->op == CEPH_OSD_OP_WATCH) if (op->op == CEPH_OSD_OP_WATCH)
seq_printf(s, "-%s", seq_printf(s, "-%s",
ceph_osd_watch_op_name(op->watch.op)); 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'); seq_putc(s, '\n');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment