Re: [PATCH 0/2] [GIT PULL] updates for event tester and lockdeptracer

From: Ingo Molnar
Date: Thu Apr 16 2009 - 12:41:23 EST



* Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> Ingo,
>
> I did not add your delay.h fix, since I was not sure if you added
> it (I saw a commit sha1 in the email).

Forgot to push it out in the big impact-line flamewars^W discussions
;-)

> I actually wrote the function trace event tester last night. But
> because it would sometimes lock up the system on bootup I held
> off.
>
> But I also found that the lockdep trace points where they are
> would lock up my system too. If I placed them inside the
> current->lockdep_recursion, everything ran stable.

Do you think this explains the self-test lockups i reported? The
lockups happened in the skb test, so i'm unsure. I left the
workaround (which comments the self-test out) for the time being,
could you check whether the config i sent works fine for you?

> I ran the lockdep trace points enabled all night with the second
> patch. Without the second patch, it would lockup within a few
> minutes.
>
> Please pull the latest tip/tracing/core-v2 tree, which can be
> found at:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace.git
> tip/tracing/core-v2
>
>
> Steven Rostedt (2):
> tracing/events: perform function tracing in event selftests
> tracing/events/lockdep: move tracepoints within recursive protection
>
> ----
> kernel/lockdep.c | 14 ++++----
> kernel/trace/trace_events.c | 80 +++++++++++++++++++++++++++++++++++++++----
> 2 files changed, 80 insertions(+), 14 deletions(-)

Pulled (from email - i fixed up the conflict with the workaround and
i added the new-style impact lines), thanks a lot Steve!

Ingo
--
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/