[Top] [All Lists]

Re: [PATCH] stack2core: show stack message and convert it to core

To: Tejun Heo <>
Subject: Re: [PATCH] stack2core: show stack message and convert it to core file when kernel die
From: Hui Zhu <>
Date: Wed, 6 Jan 2010 15:07:18 +0800
Cc: Arjan van de Ven <>, Russell King <>, saeed bishara <>, Catalin Marinas <>, Nicolas Pitre <>, Ralf Baechle <>, David Daney <>, Tomaso Paoletti <>, Chris Dearman <>, Paul Gortmaker <>, Thomas Gleixner <>, Ingo Molnar <>, "H. Peter Anvin" <>,, Frederic Weisbecker <>, Alexey Dobriyan <>, Brian Gerst <>, Rusty Russell <>, Andrew Morton <>, Steven Rostedt <>, Greg Kroah-Hartman <>, "Paul E. McKenney" <>,,,, Coly Li <>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=gatW7sEcaUpHHwvs9tvGjHNlw6EmCSbB7H0Kfohy/q4=; b=pcA9f5GoMQsWUeOvul8aTlLmv9nhkUMBe6nw26YWvFnkjzv95t5ApwIgIH/vXz56mD e2Kfe50dPbdFLmYawQFDv4rZRnjImaXWFuhaATpVg08yHD8e/6h3I4ZQXZIyr9HyF1Zm GCvC2uwRbZrGtHlzM4xNr0VfMCNxTBVBjecA0=
Domainkey-signature: a=rsa-sha1; c=nofws;; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=s7EktRjErrvRD0ITTfUlyGuzYhck/WMPvHSvbJApYOAimO41FCoqI4jUA5ucXR3pu4 jRilFDgLzrYAtEHg98FO4oXSqC+7r2W6ZlHsV7sewhFAGHGTKvCSN46FPir6tKEpoAip luJ4kGT7nqJmo45DbQTmJGslXTTeke96+AJyc=
In-reply-to: <>
References: <> <> <> <> <> <> <> <> <>

On Tue, Jan 5, 2010 at 17:20, Tejun Heo <> wrote:
> Hello,
> On 01/05/2010 06:04 PM, Hui Zhu wrote:
>> I agree with read the current stack message is better.
>> About the extending, I have some question with it:
>> 1. have itself idea, it try use dmesg|
>> show what happen to usr.  This is different with s2c.
>> I am not sure people like it have other function with it.  Too much
>> part of this file need to be change.  It need rewrite, just the oops
>> message parse part can be keep.
> Yeah, I think you'll need to refactor it and share only the parsing
> frontend.  Just adding a switch (-m or whatever) which puts it into
> machine-friendly translator mode should do the trick.
>> 2.  I use perl to work in a long time before, I know it good at parse
>> the text, but I am not sure it good at handle struct like:
> You don't need to handle the data structure at all.  Just make it
> parse the dmesg and output machine-friendly formatted output which can
> be processed by s2c.  ie. just make it do the reformatting.

This idea is very cool.  I will do it.  Thanks for help.  :)

Best regards,

<Prev in Thread] Current Thread [Next in Thread>