Messages in this thread | | | Date | Sat, 30 Sep 2017 12:14:34 +0900 | From | Sergey Senozhatsky <> | Subject | Re: [RFC V2] printk: add warning while drop partial text in msg |
| |
On (09/27/17 21:59), pierre kuo wrote: [..] > We use the example in this mail since we try to collect the message at > different places in our driver. > And batch to printk for saving individual output time and group > message together.
I see. well, printk batching (buffered mode) is a bit tricky and we don't have it, nor we recommend it. the main problem - you lose your data on panic. it seems to me, that the only way to do it is to re-use printk-safe buffer on that particular CPU. but it comes at a price and in general is a bit ugly.
-ss
| |