Re: perf events over (net) console?

From: Peter Zijlstra
Date: Thu Sep 09 2010 - 07:19:12 EST


On Thu, 2010-09-09 at 13:06 +0200, Harald Gustafsson wrote:
> Hi,
>
> We would like to monitor the perf events continuously on a remote
> machine. Does it exist a solution (in the kernel) to direct the output
> to a console or maybe even a netconsole? We would like to avoid a user
> space application to transfer it, due to that the machine will be
> running a test which will heavily load it and we want to avoid as many
> unrelated user space tasks as possible. If not mainlined does anyone
> have a patch for this?

No, and its a daft requirement.

You need a process context anyway to read the data and send it to
whatever place you want it.

Putting that in-kernel serves no purpose what so ever.
--
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/