Re: [Demo/lkm] Kcoredump -- Do coredump in any where of kernel(not same with kcore)

From: AmÃrico Wang
Date: Tue Sep 22 2009 - 05:31:36 EST


On Tue, Sep 22, 2009 at 4:41 PM, Hui Zhu <teawater@xxxxxxxxx> 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?

I think we can do this by systemtap+kdump, can't we?

Thanks.
--
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/