[lkml]   [2013]   [Nov]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 4/5] perf record: mmap output file - v5
On 11/18/13, 7:13 PM, Namhyung Kim wrote:
> I think it should be
> perf record -e cycles -F 4000 -e faults -c 1 --call-graph dwarf,8192 -a -- sleep 1
> (at least to generate the feedback spiral more efficiently..)

you don't need the cycles. faults by itself works. Each event contains >
2 pages of data in the sample. With mmap-based output a single sample (1
page fault in any process) generates 2-3 page faults by perf which cause
2-3 >8k samples to be generated, which generates faults, ....


 \ /
  Last update: 2013-11-19 03:41    [W:0.120 / U:0.272 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site