Re: [Cluster-devel] [PATCH dlm/next 3/5] fs: dlm: trace user space callbacks

2022-08-05 Thread Alexander Aring
Hi, On Mon, Jul 25, 2022 at 4:38 PM Alexander Aring wrote: ... > --- a/include/trace/events/dlm.h > +++ b/include/trace/events/dlm.h > @@ -92,9 +92,10 @@ TRACE_EVENT(dlm_lock_start, > TRACE_EVENT(dlm_lock_end, > > TP_PROTO(struct dlm_ls *ls, struct dlm_lkb *lkb, void *name, > -

[Cluster-devel] [PATCH dlm/next 3/5] fs: dlm: trace user space callbacks

2022-07-25 Thread Alexander Aring
This patch adds trace callbacks for user locks. Unfortenately user locks are handled in a different way than kernel locks in some cases. User locks never call the dlm_lock()/dlm_unlock() kernel API and use the next step internal API of dlm. Adding those traces from user API callers should make it