lkml.org 
[lkml]   [2022]   [Apr]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] locking: Apply contention tracepoints in the slow path
On Thu, Mar 31, 2022 at 11:26:17PM -0700, Namhyung Kim wrote:
> On Thu, Mar 31, 2022 at 01:59:16PM +0200, Peter Zijlstra wrote:
> > I've since pushed out the lot to:
> >
> > git://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git locking/core
> >
> > It builds, but I've not actually used it. Much appreciated if you could
> > test.
> >
>
> I've tested it and it worked well. Thanks for your work!
>
> And we need to add the below too..

Thanks

> ----8<----
>
> diff --git a/include/trace/events/lock.h b/include/trace/events/lock.h
> index db5bdbb9b9c0..9463a93132c3 100644
> --- a/include/trace/events/lock.h
> +++ b/include/trace/events/lock.h
> @@ -114,7 +114,8 @@ TRACE_EVENT(contention_begin,
> { LCB_F_READ, "READ" },
> { LCB_F_WRITE, "WRITE" },
> { LCB_F_RT, "RT" },
> - { LCB_F_PERCPU, "PERCPU" }
> + { LCB_F_PERCPU, "PERCPU" },
> + { LCB_F_MUTEX, "MUTEX" }
> ))
> );

Duh, indeed, folded!

\
 
 \ /
  Last update: 2022-04-01 11:28    [W:0.054 / U:0.356 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site