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

From: Andi Kleen
Date: Fri Aug 03 2012 - 13:54:29 EST


Vikram Pandita <vikram.pandita@xxxxxx> writes:

> From: Vikram Pandita <vikram.pandita@xxxxxx>
>
> Introduce config option to enable CPU id reporting for printk() calls.

What's wrong with using trace_printk for this? That's much faster
anyways. Generally printk is so slow that it's typically useless for
instrumenting races.

And really: Wasting 1/3 of the 80 character line is too much.

-Andi

--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/