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

From: Ingo Molnar
Date: Tue Apr 14 2009 - 14:16:26 EST



* Steven Rostedt <rostedt@xxxxxxxxxxx> 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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/