[PATCH 2/4] tracing/events: fix lockdep system name

Steven Rostedt
2009-04-15T03:16:50Z

[-- Attachment #1: 0002-tracing-events-fix-lockdep-system-name.patch --]
[-- Type: text/plain, Size: 757 bytes --]

From: Steven Rostedt <srostedt@redhat.com>

Impact: fix compile error of lockdep event tracer

Ingo Molnar pointed out that the system name for the lockdep tracer was "lock"
which is used to include the event trace file name. It should be "lockdep"

Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
---
include/trace/lockdep.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/trace/lockdep.h b/include/trace/lockdep.h
index 4d301e7..45e326b 100644
--- a/include/trace/lockdep.h
+++ b/include/trace/lockdep.h
@@ -5,7 +5,7 @@
#include <linux/tracepoint.h>

#undef TRACE_SYSTEM
-#define TRACE_SYSTEM lock
+#define TRACE_SYSTEM lockdep

#ifdef CONFIG_LOCKDEP

--
1.6.2.1

--