tracing: Factorize lock events in a lock class
authorFrederic Weisbecker <fweisbec@gmail.com>
Sat, 8 May 2010 04:36:02 +0000 (06:36 +0200)
committerFrederic Weisbecker <fweisbec@gmail.com>
Sun, 9 May 2010 11:45:35 +0000 (13:45 +0200)
commit2c193c736803ceb547daec725e5c5d992d039f20
tree3ae8b7a21ef6397ab626d192c8e90895469052be
parent93135439459920c4d856f4ab8f068c030085c8df
tracing: Factorize lock events in a lock class

lock_acquired, lock_contended and lock_release now share the
same prototype and format. Let's factorize them into a lock
event class.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Hitoshi Mitake <mitake@dcl.info.waseda.ac.jp>
Cc: Steven Rostedt <rostedt@goodmis.org>
include/trace/events/lock.h