Re: [patch 1/4] KMON - kmon device/instrumentation ...

From: Andi Kleen
Date: Thu May 10 2007 - 08:26:48 EST


Davide Libenzi <davidel@xxxxxxxxxxxxxxx> writes:

> This patch serie introduces a way to log high frequency/volume data
> out of the kernel. Logging scheduler operations for example, with
> loads that generate tenths of thousands of context switches per second
> (possibly from multiple CPUs), can overload the kernel printk. Also,
> logging in binary form helps in reducing the size of the logged data
> that is tranfered from kernel to userspace. The kmon logger uses per
> CPU buffers (rings) that are flushed at a given frequency to all the
> instances of the kmon devices.

Sounds like you reinvented relayfs? (and ktrace before that)

-Andi
-
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/