From: Hui Zhu <teawater@gmail.com>
To: "Américo Wang" <xiyou.wangcong@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [Demo/lkm] Kcoredump -- Do coredump in any where of kernel(not same with kcore)
Date: Tue, 22 Sep 2009 22:18:19 +0800 [thread overview]
Message-ID: <daef60380909220718h29d0a560rfe3430e4955c59d8@mail.gmail.com> (raw)
In-Reply-To: <2375c9f90909220231l4833bc75w79403474dc0cab9a@mail.gmail.com>
On Tue, Sep 22, 2009 at 17:31, Américo Wang <xiyou.wangcong@gmail.com> wrote:
> On Tue, Sep 22, 2009 at 4:41 PM, Hui Zhu <teawater@gmail.com> wrote:
>> Hi guys,
>>
>> Kcoredump do a coredump in most part of kernel (it use kprobe, it can
>> be set most of part of kernel). For example:
>> insmod kcoredump.ko name=do_fork offset=11
>> gdb ./vmlinux /proc/kcoredump
>> Core was generated by `'.
>
> But what is your point of generating coredump anywhere?
> I mean what do you really want by this?
We can get the kernel status in do_fork+11 and put it to core file (It
like gdb command "gcore"). GDB can parse it.
>
> I think we can do this by systemtap+kdump, can't we?
>
It seems that kdump just can get core when kernel crash.
Thanks,
Hui
prev parent reply other threads:[~2009-09-22 14:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-22 8:41 Hui Zhu
2009-09-22 9:31 ` Américo Wang
2009-09-22 14:18 ` Hui Zhu [this message]
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=daef60380909220718h29d0a560rfe3430e4955c59d8@mail.gmail.com \
--to=teawater@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=xiyou.wangcong@gmail.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
all inboxes | Powered by JetHome®