On Wed, 9 Sep 2015, Vlastimil Babka wrote: > On 09/09/2015 04:01 PM, Christoph Lameter wrote: > > On Wed, 9 Sep 2015, Nikolay Borisov wrote: > > > > What does: > > > > echo 1 >trace > > > > do? Could crash the sysem due to overload of messages. > > Yes I've seen that happen. Did you consider hooking it to trace_printk() > instead of printk()?
The code was there earlier than trace_printk as far as I can tell and the formatting functions are based on printk. Hmmm.. the pr_info in the trace() function could use trace_printk() but that leaves the stack_dump(). -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

