From: Jason Wessel <jason.wessel@windriver.com>
To: Peter Zijlstra <peterz@infradead.org>
Cc: Christoph Hellwig <hch@infradead.org>,
Lai Jiangshan <laijs@cn.fujitsu.com>,
Dave Anderson <anderson@redhat.com>,
crash-utility@redhat.com, Ingo Molnar <mingo@elte.hu>,
Frederic Weisbecker <fweisbec@gmail.com>,
Thomas Gleixner <tglx@linutronix.de>,
Arnaldo Carvalho de Melo <acme@ghostprotocols.net>,
"Luis Claudio R. Goncalves" <lclaudio@uudg.org>,
Clark Williams <clark.williams@gmail.com>,
Jon Masters <jonathan@jonmasters.org>,
Andrew Morton <akpm@linux-foundation.org>,
Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>,
Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>,
Zhaolei <zhaolei@cn.fujitsu.com>,
kosaki.motohiro@jp.fujitsu.com, Li Zefan <lizf@cn.fujitsu.com>,
Masami Hiramatsu <mhiramat@redhat.com>,
"Frank Ch. Eigler" <fche@redhat.com>,
Tom Zanussi <tzanussi@gmail.com>, Jason Baron <jbaron@redhat.com>,
srostedt@redhat.com, LKML <linux-kernel@vger.kernel.org>
Subject: Re: [ANNOUNCE][RFC][PATCH] Crash-utility, tracing: enable crash to analyze tracing from core-file (make tracing can act as a flight recorder)
Date: Mon, 03 Aug 2009 14:47:09 -0500 [thread overview]
Message-ID: <4A773EBD.3050707@windriver.com> (raw)
In-Reply-To: <1249312875.7924.106.camel@twins>
Peter Zijlstra wrote:
> On Mon, 2009-08-03 at 11:14 -0400, Christoph Hellwig wrote:
>
>> Nice! Now the only thing missing is gettind kdb in mainline and a trace
>> reader in kdb ;-)
>>
>> Any idea how easy it is to reuse the crash/gdb code for looking at crash
>> dumps through kgdb?
>>
>
> It was suggested a while ago to implement kdb as an in-kernel consumer
> of kgdb or something. No idea what happened there..
>
With respect to kdb for the mainline, this is still largely a work in
progress, but there is a prototype implementation of kdb which is hooked
up to the kdb backend. There is a new prototype pushed to the kgdb
development tree every couple of weeks. The prototype #4 will be
pushed sometime this week.
If there is a nice API to call for the trace piece, it is pretty trivial
to add additional kdb commands which would allow you to print your trace
buffers as needed. The unified kdb/kgdb prototype also supports calling
kdb commands through gdb's "monitor" command. It is not clear if that
satisfies the need that Christoph asked about, or if he had some other
data analysis in mind.
In no particular order, tracing, kernel probes, profiling data display,
kdump, disassembly and kernel mode setting were some of the pieces that
are on the wish list for integration with the kdb prototype. Kernel
mode setting is presently the highest priority on the wish list for a
new feature.
I will gladly accept patches into the kdb prototype if people have any. :-)
Jason.
Prototype #3 is at:
http://git.kernel.org/?p=linux/kernel/git/jwessel/linux-2.6-kgdb.git;a=shortlog;h=kdb_prototype3
There had not been any further posts about the kdb -> kgdb integration
outside the first because the project is still pretty young and there is
a significant amount of clean up required to the original kdb code base
in order bring it closer to consideration for any kind of lkml
scrutiny. The nice thing about the kdb prototype is that it is almost
entirely arch independent. The goal of this project is to make such
that any arch that makes use of the kgdb core today, could make use of
the generic kdb interface.
next prev parent reply other threads:[~2009-08-03 19:49 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-03 14:48 [ANNOUNCE][RFC][PATCH] Crash-utility, tracing: enable crash to analyze tracing from core-file (make tracing can act as a flight recorder) Lai Jiangshan
2009-08-03 15:14 ` Christoph Hellwig
2009-08-03 15:21 ` Peter Zijlstra
2009-08-03 19:47 ` Jason Wessel [this message]
2009-08-03 20:52 ` Andi Kleen
2009-08-03 21:04 ` Jason Wessel
2009-08-03 21:53 ` Christoph Hellwig
2009-08-03 15:42 ` Peter Zijlstra
2009-08-04 6:52 ` Lai Jiangshan
2009-08-04 10:36 ` Peter Zijlstra
2009-08-04 16:23 ` Steven Rostedt
2009-08-04 16:55 ` Masami Hiramatsu
2009-09-12 4:15 ` [ANNOUNCE][RFC] trace extension module for crash Lai Jiangshan
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=4A773EBD.3050707@windriver.com \
--to=jason.wessel@windriver.com \
--cc=acme@ghostprotocols.net \
--cc=akpm@linux-foundation.org \
--cc=anderson@redhat.com \
--cc=clark.williams@gmail.com \
--cc=crash-utility@redhat.com \
--cc=fche@redhat.com \
--cc=fweisbec@gmail.com \
--cc=hch@infradead.org \
--cc=jbaron@redhat.com \
--cc=jonathan@jonmasters.org \
--cc=kosaki.motohiro@jp.fujitsu.com \
--cc=laijs@cn.fujitsu.com \
--cc=lclaudio@uudg.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lizf@cn.fujitsu.com \
--cc=mathieu.desnoyers@polymtl.ca \
--cc=mhiramat@redhat.com \
--cc=mingo@elte.hu \
--cc=peterz@infradead.org \
--cc=srostedt@redhat.com \
--cc=tglx@linutronix.de \
--cc=tzanussi@gmail.com \
--cc=xiaoguangrong@cn.fujitsu.com \
--cc=zhaolei@cn.fujitsu.com \
/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