tracing: Rename 'lockdep' event subsystem into 'lock'
Frederic Weisbecker [Fri, 13 Nov 2009 09:06:34 +0000 (10:06 +0100)]
Lockdep events subsystem gathers various locking related events
such as a request, release, contention or acquisition of a lock.

The name of this event subsystem is a bit of a misnomer since
these events are not quite related to lockdep but more generally
to locking, ie: these events are not reporting lock dependencies
or possible deadlock scenario but pure locking events.

Hence this rename.

Signed-off-by: Frederic Weisbecker <>
Acked-by: Peter Zijlstra <>
Acked-by: Hitoshi Mitake <>
Cc: Arnaldo Carvalho de Melo <>
Cc: Mike Galbraith <>
Cc: Paul Mackerras <>
Cc: Steven Rostedt <>
Cc: Li Zefan <>
LKML-Reference: <>
Signed-off-by: Ingo Molnar <>

include/trace/events/lock.h [moved from include/trace/events/lockdep.h with 92% similarity]

similarity index 92%
rename from include/trace/events/lockdep.h
rename to include/trace/events/lock.h
index bcf1d20..a870ba1 100644 (file)
@@ -1,8 +1,8 @@
-#define TRACE_SYSTEM lockdep
+#define TRACE_SYSTEM lock
-#if !defined(_TRACE_LOCKDEP_H) || defined(TRACE_HEADER_MULTI_READ)
+#if !defined(_TRACE_LOCK_H) || defined(TRACE_HEADER_MULTI_READ)
+#define _TRACE_LOCK_H
 #include <linux/lockdep.h>
 #include <linux/tracepoint.h>
@@ -90,7 +90,7 @@ TRACE_EVENT(lock_acquired,
-#endif /* _TRACE_LOCKDEP_H */
+#endif /* _TRACE_LOCK_H */
 /* This part must be outside protection */
 #include <trace/define_trace.h>
index 9af5672..f5dcd36 100644 (file)
@@ -49,7 +49,7 @@
 #include "lockdep_internals.h"
-#include <trace/events/lockdep.h>
+#include <trace/events/lock.h>
 int prove_locking = 1;