From: laijs@cn.fujitsu.com (Lai Jiangshan)
Subject: [ltt-dev] Mini Design and Roadmap of LTT-Kdump
Date: Wed, 11 Feb 2009 14:50:01 +0800 [thread overview]
Message-ID: <49927519.5080609@cn.fujitsu.com> (raw)
Mini Design and Roadmap of LTT-Kdump
-----------
People in enterprise need to be able to diagnose why the system
failed. Failing once is acceptable from a customer perspective, but
failing again isn't. In this case, being able to extract the last events
before the crash can be very valuable and helps solving the problems
before they happen again.
Create tools to simplify extraction of traces from crashed kernel.
The core file of crashed kernel is provided by kdump.
-----------
We will implement it. This tool include two parts.
Part1: Core-file analyser.
Analyse(needs kernel-debuginfo) the core-file and read
ltt-relay files.
This part will use elf-libs for analysing, but we use crash(8)
instead at first. crash(8) can simplify this work and crash(8) can perform
on a compressed core-file(http://sourceforge.net/projects/makedumpfile/).
When we use crash(8), we will write a gdb script for analysing.
crash(8) loads this gdb script, core-file and kernel-debuginfo then listens
to a pipe and does works.
crash(8) works very well when pages are vmap()ed into to a continuous
memmory region. But ltt-relay's pages are not vmap()ed, it'll very slow.
so we may use elf-libs or enhance crash(8) at last.
Part2: ltt-relay extracter
Extracter calls analyser's API to travel the debugfs tree in core-file,
and copies all ltt-relay files to the disk. The written files are the same
format exactly as the files what lttd writes, so we can use lttv or other
lttng tools to read the events.
Any comments and ideas are welcome!
Thanks, Lai
next reply other threads:[~2009-02-11 6:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-11 6:50 Lai Jiangshan [this message]
2009-02-19 3:58 ` Mathieu Desnoyers
2009-02-19 10:56 ` 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=49927519.5080609@cn.fujitsu.com \
--to=laijs@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