From: Ingo Molnar <mingo@elte.hu>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: LKML <linux-kernel@vger.kernel.org>,
Andrew Morton <akpm@linux-foundation.org>,
Thomas Gleixner <tglx@linutronix.de>,
Peter Zijlstra <peterz@infradead.org>,
Linus Torvalds <torvalds@linux-foundation.org>
Subject: Re: [PATCH v2] ftrace: dump out ftrace buffers to console on panic
Date: Fri, 15 Aug 2008 17:40:14 +0200 [thread overview]
Message-ID: <20080815154014.GD27955@elte.hu> (raw)
In-Reply-To: <alpine.DEB.1.10.0807302227320.20785@gandalf.stny.rr.com>
* Steven Rostedt <rostedt@goodmis.org> wrote:
> [
> Changes since -v1:
> Got alpine to send correctly (as well as spell check working).
> Removed config option.
> Moved the static variables into ftrace_dump itself.
> Gave printk a log level.
> ]
>
> At OLS I had a lot of interest to be able to have the ftrace buffers
> dumped on panic. Usually one would expect to uses kexec and examine
> the buffers after a new kernel is loaded. But sometimes the resources
> do not permit kdump and kexec, so having an option to still see the
> sequence of events up to the crash is very advantageous.
>
> This patch adds the option to have the ftrace buffers dumped to the
> console in the latency_trace format on a panic. When the option is
> set, the default entries per CPU buffer are lowered to 16384, since
> the writing to the serial (if that is the console) may take an awful
> long time otherwise.
we had this in the latency tracer - so it's a very useful feature.
Applied to tip/tracing/ftrace, thanks Steve.
Ingo
next prev parent reply other threads:[~2008-08-15 15:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-31 2:36 [PATCH v2] ftrace: dump out ftrace buffers to console on panic Steven Rostedt
2008-08-15 15:40 ` Ingo Molnar [this message]
2008-08-15 16:26 ` [PATCH] ftrace: ftrace_kill_atomic() build fix Ingo Molnar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080815154014.GD27955@elte.hu \
--to=mingo@elte.hu \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=peterz@infradead.org \
--cc=rostedt@goodmis.org \
--cc=tglx@linutronix.de \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox