Re: [PATCH] printk: add cpu id information to printk() output

2023-09-22 Thread Petr Mladek
On Fri 2023-09-22 15:20:37, Enlin Mu wrote: > Petr Mladek 于2023年9月16日周六 00:34写道: > > > > On Fri 2023-09-15 11:53:13, Greg KH wrote: > > > On Fri, Sep 15, 2023 at 04:46:02PM +0800, Enlin Mu wrote: > > > > John Ogness 于2023年9月15日周五 16:34写道: > > > > > > > > > > On 2023-09-15, Enlin Mu wrote: > > >

Re: [PATCH] printk: add cpu id information to printk() output

2023-09-22 Thread Petr Mladek
On Fri 2023-09-22 15:34:44, Enlin Mu wrote: > John Ogness 于2023年9月15日周五 16:34写道: > > > > On 2023-09-15, Enlin Mu wrote: > > > Sometimes we want to print cpu id of printk() messages to consoles > > > > > > diff --git a/include/linux/threads.h b/include/linux/threads.h > > > index c34173e6c5f1..670

Re: [PATCH] printk: add cpu id information to printk() output

2023-09-22 Thread Enlin Mu
John Ogness 于2023年9月15日周五 16:34写道: > > On 2023-09-15, Enlin Mu wrote: > > Sometimes we want to print cpu id of printk() messages to consoles > > > > diff --git a/include/linux/threads.h b/include/linux/threads.h > > index c34173e6c5f1..6700bd9a174f 100644 > > --- a/include/linux/threads.h > > +++

Re: [PATCH] printk: add cpu id information to printk() output

2023-09-22 Thread Enlin Mu
Petr Mladek 于2023年9月16日周六 00:34写道: > > On Fri 2023-09-15 11:53:13, Greg KH wrote: > > On Fri, Sep 15, 2023 at 04:46:02PM +0800, Enlin Mu wrote: > > > John Ogness 于2023年9月15日周五 16:34写道: > > > > > > > > On 2023-09-15, Enlin Mu wrote: > > > > > Sometimes we want to print cpu id of printk() messages

Re: [PATCH] printk: add cpu id information to printk() output

2023-09-18 Thread John Ogness
On 2023-09-15, Petr Mladek wrote: > The biggest problem is that it would change the format of the > ringbuffer so that it would require updating external tools, > working with crashdump, especially crash but there are also > alternative python extensions for gdb. I already have experience updatin