[Cluster-devel] [PATCH dlm/next 0/3] fs: dlm: debug and tracepoints

Alexander Aring aahringo at redhat.com
Fri Aug 20 19:51:12 UTC 2021


Hi,

again a resend of the tracepoints patches and fixed that the lkb
reference is hold during tracepoint call. We need to do that because we
access the structure during tracing. There is some code duplication to
convert the return error for dlm_lock_end trace now. I didn't wanted to
change the existing code and introduce more overhead if tracing is not
enabled.

- Alex

Alexander Aring (3):
  fs: dlm: debug improvements print nodeid
  fs: dlm: initial support for tracepoints
  fs: dlm: trace socket handling

 fs/dlm/ast.c               |   4 +
 fs/dlm/lock.c              |  10 ++
 fs/dlm/lowcomms.c          |   4 +
 fs/dlm/main.c              |   3 +
 fs/dlm/midcomms.c          |   4 +-
 include/trace/events/dlm.h | 260 +++++++++++++++++++++++++++++++++++++
 6 files changed, 283 insertions(+), 2 deletions(-)
 create mode 100644 include/trace/events/dlm.h

-- 
2.27.0




More information about the Cluster-devel mailing list