Skip to content

Commit

Permalink
libceph: dump class and method names on method calls
Browse files Browse the repository at this point in the history
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
  • Loading branch information
Ilya Dryomov committed Aug 3, 2020
1 parent 5133ba8 commit 6e6f0f0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions net/ceph/debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 6e6f0f0

Please sign in to comment.