Re: Q: perf log mode?

From: Peter Zijlstra
Date: Wed Jan 12 2011 - 09:07:49 EST


On Wed, 2011-01-12 at 17:06 +0300, Kirill Smelkov wrote:
> I'm trying to use perf together with e.g. kprobes as a tool to show what
> is happening with my system in "live-log" mode. The problem is, for
> seldom events, actual info output is largely delayed because perf reads
> sample data in whole pages. Could something be done with it or am I'm
> missing something? Here is detailed description:

perf_event_attr = {
.watermark = 0,
.wakeup_events = 1,
};


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