Re: [PATCH 0/8] [GIT PULL] TRACE_EVENT for modules

Ingo Molnar
2009-04-14T18:16:26Z

* Steven Rostedt <rostedt@goodmis.org> wrote:

> Ingo,
>
> This is the long awaited TRACE_EVENT for modules patch series.
>
> Not only does it allow for modules to use the TRACE_EVENT
> infrastructure, but it also cleans up the way TRACE_EVENTS are
> used in core kernel code.

Really impressive!

I've got a small testing hickup with it:

In file included from include/trace/lockdep.h:60,
from kernel/lockdep.c:51:
include/trace/define_trace.h:57:43: error: trace/lock.h: No such file or directory

The patch below fixes it.

Ingo

Index: linux/include/trace/lockdep.h
===================================================================
--- linux.orig/include/trace/lockdep.h
+++ linux/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