Re: [PATCH] printk: add option to print cpu id

2012-08-03 Thread Pandita, Vikram
Kay On Thu, Aug 2, 2012 at 7:19 PM, Pandita, Vikram wrote: > Kay > > On Thu, Aug 2, 2012 at 5:06 PM, Kay Sievers wrote: >> On Fri, Aug 3, 2012 at 1:50 AM, Pandita, Vikram >> wrote: >>> On Thu, Aug 2, 2012 at 1:08 PM, Kay Sievers wrote: >> How is that supposed to be useful? The

Re: [PATCH] printk: add option to print cpu id

2012-08-03 Thread Pandita, Vikram
Kay On Thu, Aug 2, 2012 at 7:19 PM, Pandita, Vikram vikram.pand...@ti.com wrote: Kay On Thu, Aug 2, 2012 at 5:06 PM, Kay Sievers k...@vrfy.org wrote: On Fri, Aug 3, 2012 at 1:50 AM, Pandita, Vikram vikram.pand...@ti.com wrote: On Thu, Aug 2, 2012 at 1:08 PM, Kay Sievers k...@vrfy.org

Re: [PATCH] printk: add option to print cpu id

2012-08-02 Thread Pandita, Vikram
Kay On Thu, Aug 2, 2012 at 5:06 PM, Kay Sievers wrote: > On Fri, Aug 3, 2012 at 1:50 AM, Pandita, Vikram wrote: >> On Thu, Aug 2, 2012 at 1:08 PM, Kay Sievers wrote: > >>> How is that supposed to be useful? >>> >>> The prefix is added while exporting data from the kmsg buffer, which >>> is

Re: [PATCH] printk: add option to print cpu id

2012-08-02 Thread Kay Sievers
On Fri, Aug 3, 2012 at 1:50 AM, Pandita, Vikram wrote: > On Thu, Aug 2, 2012 at 1:08 PM, Kay Sievers wrote: >> How is that supposed to be useful? >> >> The prefix is added while exporting data from the kmsg buffer, which >> is just the CPU that *reads* the data from the buffer, not the one >>

Re: [PATCH] printk: add option to print cpu id

2012-08-02 Thread Pandita, Vikram
Kay On Thu, Aug 2, 2012 at 1:08 PM, Kay Sievers wrote: > > On Thu, Aug 2, 2012 at 9:46 PM, Vikram Pandita > wrote: > > From: Vikram Pandita > > > > Introduce config option to enable CPU id reporting for printk() calls. > > > > Its sometimes very useful to have printk also print the CPU

Re: [PATCH] printk: add option to print cpu id

2012-08-02 Thread Kay Sievers
On Thu, Aug 2, 2012 at 9:46 PM, Vikram Pandita wrote: > From: Vikram Pandita > > Introduce config option to enable CPU id reporting for printk() calls. > > Its sometimes very useful to have printk also print the CPU Identifier > that executed the call. This has helped to debug various SMP issues

[PATCH] printk: add option to print cpu id

2012-08-02 Thread Vikram Pandita
From: Vikram Pandita Introduce config option to enable CPU id reporting for printk() calls. Its sometimes very useful to have printk also print the CPU Identifier that executed the call. This has helped to debug various SMP issues on shipping products. Known limitation is, if the system gets

[PATCH] printk: add option to print cpu id

2012-08-02 Thread Vikram Pandita
From: Vikram Pandita vikram.pand...@ti.com Introduce config option to enable CPU id reporting for printk() calls. Its sometimes very useful to have printk also print the CPU Identifier that executed the call. This has helped to debug various SMP issues on shipping products. Known limitation is,

Re: [PATCH] printk: add option to print cpu id

2012-08-02 Thread Kay Sievers
On Thu, Aug 2, 2012 at 9:46 PM, Vikram Pandita vikram.pand...@ti.com wrote: From: Vikram Pandita vikram.pand...@ti.com Introduce config option to enable CPU id reporting for printk() calls. Its sometimes very useful to have printk also print the CPU Identifier that executed the call. This

Re: [PATCH] printk: add option to print cpu id

2012-08-02 Thread Pandita, Vikram
Kay On Thu, Aug 2, 2012 at 1:08 PM, Kay Sievers k...@vrfy.org wrote: On Thu, Aug 2, 2012 at 9:46 PM, Vikram Pandita vikram.pand...@ti.com wrote: From: Vikram Pandita vikram.pand...@ti.com Introduce config option to enable CPU id reporting for printk() calls. Its sometimes very useful

Re: [PATCH] printk: add option to print cpu id

2012-08-02 Thread Kay Sievers
On Fri, Aug 3, 2012 at 1:50 AM, Pandita, Vikram vikram.pand...@ti.com wrote: On Thu, Aug 2, 2012 at 1:08 PM, Kay Sievers k...@vrfy.org wrote: How is that supposed to be useful? The prefix is added while exporting data from the kmsg buffer, which is just the CPU that *reads* the data from the

Re: [PATCH] printk: add option to print cpu id

2012-08-02 Thread Pandita, Vikram
Kay On Thu, Aug 2, 2012 at 5:06 PM, Kay Sievers k...@vrfy.org wrote: On Fri, Aug 3, 2012 at 1:50 AM, Pandita, Vikram vikram.pand...@ti.com wrote: On Thu, Aug 2, 2012 at 1:08 PM, Kay Sievers k...@vrfy.org wrote: How is that supposed to be useful? The prefix is added while exporting data from