Commit 67178767 authored by Frederic Weisbecker's avatar Frederic Weisbecker Committed by Ingo Molnar

tracing: Rename 'lockdep' event subsystem into 'lock'

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: default avatarFrederic Weisbecker <fweisbec@gmail.com>
Acked-by: default avatarPeter Zijlstra <peterz@infradead.org>
Acked-by: default avatarHitoshi Mitake <mitake@dcl.info.waseda.ac.jp>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Li Zefan <lizf@cn.fujitsu.com>
LKML-Reference: <1258103194-843-1-git-send-email-fweisbec@gmail.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent db48cccc
#undef TRACE_SYSTEM #undef TRACE_SYSTEM
#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_LOCKDEP_H #define _TRACE_LOCK_H
#include <linux/lockdep.h> #include <linux/lockdep.h>
#include <linux/tracepoint.h> #include <linux/tracepoint.h>
...@@ -90,7 +90,7 @@ TRACE_EVENT(lock_acquired, ...@@ -90,7 +90,7 @@ TRACE_EVENT(lock_acquired,
#endif #endif
#endif #endif
#endif /* _TRACE_LOCKDEP_H */ #endif /* _TRACE_LOCK_H */
/* This part must be outside protection */ /* This part must be outside protection */
#include <trace/define_trace.h> #include <trace/define_trace.h>
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
#include "lockdep_internals.h" #include "lockdep_internals.h"
#define CREATE_TRACE_POINTS #define CREATE_TRACE_POINTS
#include <trace/events/lockdep.h> #include <trace/events/lock.h>
#ifdef CONFIG_PROVE_LOCKING #ifdef CONFIG_PROVE_LOCKING
int prove_locking = 1; int prove_locking = 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment