libceph: add doutc and *_client debug macros support
authorXiubo Li <xiubli@redhat.com>
Fri, 9 Jun 2023 05:04:14 +0000 (13:04 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Fri, 3 Nov 2023 22:28:33 +0000 (23:28 +0100)
commit5c5f0d2b5f92c47baf82b9b211e27edd7d195158
tree833d0ef585bfc5b74e42490bf7936b7321a3ad68
parentffc253263a1375a65fa6c9f62a893e9767fbebfa
libceph: add doutc and *_client debug macros support

This will help print the fsid and client's global_id in debug logs,
and also print the function names.

[ idryomov: %lld -> %llu, leading space for doutc(), don't include
  __func__ in pr_*() variants ]

Link: https://tracker.ceph.com/issues/61590
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Milind Changire <mchangir@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
include/linux/ceph/ceph_debug.h