lkml.org 
[lkml]   [2011]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Q: perf log mode?
On Wed, Jan 12, 2011 at 03:08:08PM +0100, Peter Zijlstra wrote:
> 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,
> };


Which is perhaps something we want as a default when perf record -c 1
and the output is the pipe mode.


\
 
 \ /
  Last update: 2011-01-12 15:45    [W:0.056 / U:0.940 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site