Re: printk: Add process name information to printk() output.

2020-09-07 Thread Petr Mladek
On Mon 2020-09-07 12:36:45, John Ogness wrote: > On 2020-09-07, Petr Mladek wrote: > > This extra metadata are not currently read by crashdump tools. > > crash [0] prints dictionary data. > [0] https://github.com/crash-utility/crash Grr, I have missed this. It makes things more complicated. We

Re: printk: Add process name information to printk() output.

2020-09-07 Thread John Ogness
On 2020-09-07, Petr Mladek wrote: > This extra metadata are not currently read by crashdump tools. crash [0] prints dictionary data. John Ogness [0] https://github.com/crash-utility/crash

Re: printk: Add process name information to printk() output.

2020-09-07 Thread Petr Mladek
On Sat 2020-09-05 01:33:12, John Ogness wrote: > On 2020-09-04, Petr Mladek wrote: > >>> I am currently playing with support for all three timestamps based > >>> on https://lore.kernel.org/lkml/20200814101933.574326...@linutronix.de/ > >>> > >>> And I got the following idea: > >>> > >>> 1. Storing

RE: printk: Add process name information to printk() output.

2020-09-07 Thread 김창기
> On 2020-09-04, Petr Mladek wrote: > >>> I am currently playing with support for all three timestamps based > >>> on > >>> https://lore.kernel.org/lkml/20200814101933.574326...@linutronix.de/ > >>> > >>> And I got the following idea: > >>> > >>> 1. Storing side: > >>> > >>>Create one more rin

RE: printk: Add process name information to printk() output.

2020-09-06 Thread 김창기
> On Fri, Sep 04, 2020 at 06:31:13PM +0900, â wrote: > > > On Fri, Sep 04, 2020 at 05:24:38PM +0900, Changki Kim wrote: > > > > Printk() meesages are the most basic and useful debug method. > > > > However, additional information needs in multi-processor. > > > > If we add messages with process

Re: printk: Add process name information to printk() output.

2020-09-04 Thread John Ogness
On 2020-09-04, Petr Mladek wrote: >>> I am currently playing with support for all three timestamps based >>> on https://lore.kernel.org/lkml/20200814101933.574326...@linutronix.de/ >>> >>> And I got the following idea: >>> >>> 1. Storing side: >>> >>>Create one more ring/array for storing the

Re: printk: Add process name information to printk() output.

2020-09-04 Thread Joe Perches
On Fri, 2020-09-04 at 12:35 +0200, Greg KH wrote: > On Fri, Sep 04, 2020 at 11:53:42AM +0206, John Ogness wrote: > > On 2020-09-04, Changki Kim wrote: > > > Printk() meesages are the most basic and useful debug method. > > > However, additional information needs in multi-processor. > > > If we add

Re: printk: Add process name information to printk() output.

2020-09-04 Thread Petr Mladek
On Fri 2020-09-04 15:23:19, John Ogness wrote: > On 2020-09-04, Petr Mladek wrote: > > I am currently playing with support for all three timestamps based > > on https://lore.kernel.org/lkml/20200814101933.574326...@linutronix.de/ > > > > And I got the following idea: > > > > 1. Storing side: > > >

Re: printk: Add process name information to printk() output.

2020-09-04 Thread John Ogness
On 2020-09-04, Petr Mladek wrote: > I am currently playing with support for all three timestamps based > on https://lore.kernel.org/lkml/20200814101933.574326...@linutronix.de/ > > And I got the following idea: > > 1. Storing side: > >Create one more ring/array for storing the optional metadat

Re: printk: Add process name information to printk() output.

2020-09-04 Thread Petr Mladek
On Fri 2020-09-04 11:53:42, John Ogness wrote: > On 2020-09-04, Changki Kim wrote: > > Printk() meesages are the most basic and useful debug method. > > However, additional information needs in multi-processor. > > If we add messages with processor id and process name, we can find > > a problem on

Re: printk: Add process name information to printk() output.

2020-09-04 Thread Greg KH
On Fri, Sep 04, 2020 at 11:53:42AM +0206, John Ogness wrote: > On 2020-09-04, Changki Kim wrote: > > Printk() meesages are the most basic and useful debug method. > > However, additional information needs in multi-processor. > > If we add messages with processor id and process name, we can find >

Re: printk: Add process name information to printk() output.

2020-09-04 Thread 'Greg KH'
On Fri, Sep 04, 2020 at 06:31:13PM +0900, ��� wrote: > > On Fri, Sep 04, 2020 at 05:24:38PM +0900, Changki Kim wrote: > > > Printk() meesages are the most basic and useful debug method. > > > However, additional information needs in multi-processor. > > > If we add messages with processor id and

Re: printk: Add process name information to printk() output.

2020-09-04 Thread John Ogness
On 2020-09-04, Changki Kim wrote: > Printk() meesages are the most basic and useful debug method. > However, additional information needs in multi-processor. > If we add messages with processor id and process name, we can find > a problem only with messages when the problem occurs with H/W IP or C

RE: printk: Add process name information to printk() output.

2020-09-04 Thread 김창기
> On Fri, Sep 04, 2020 at 05:24:38PM +0900, Changki Kim wrote: > > Printk() meesages are the most basic and useful debug method. > > However, additional information needs in multi-processor. > > If we add messages with processor id and process name, we can find a > > problem only with messages when

Re: printk: Add process name information to printk() output.

2020-09-04 Thread Greg KH
On Fri, Sep 04, 2020 at 05:24:38PM +0900, Changki Kim wrote: > Printk() meesages are the most basic and useful debug method. > However, additional information needs in multi-processor. > If we add messages with processor id and process name, we can find > a problem only with messages when the probl

printk: Add process name information to printk() output.

2020-09-04 Thread Changki Kim
Printk() meesages are the most basic and useful debug method. However, additional information needs in multi-processor. If we add messages with processor id and process name, we can find a problem only with messages when the problem occurs with H/W IP or CPU. This is very useful in narrowing down t