Re: [PATCH 2/2] perf lock: Fix output of tracing lock events

From: Ingo Molnar
Date: Thu Dec 17 2009 - 03:50:38 EST



* Hitoshi Mitake <mitake@xxxxxxxxxxxxxxxxxxxxx> wrote:

> This patch adds address of lockdep_map to each lock events.
> perf lock uses these addresses as IDs of lock instances.
>
> And this removes waittime from output of lock_acquired event.
> The value will be caliculated in userspace based on timestamp.
>
> Signed-off-by: Hitoshi Mitake <mitake@xxxxxxxxxxxxxxxxxxxxx>
> Cc: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
> Cc: Paul Mackerras <paulus@xxxxxxxxx>
> Cc: Frederic Weisbecker <fweisbec@xxxxxxxxx>
> ---
> include/trace/events/lock.h | 27 ++++++++++++++++++---------
> kernel/lockdep.c | 2 +-
> 2 files changed, 19 insertions(+), 10 deletions(-)

Frederic, Peter, do these two patches look good to you? We can apply them to
make subsequent perf lock work easier.

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/