[lkml]   [2011]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 1/2] perf stat: add -l <N> option to redirect stderr elsewhere

* Jim Cromie <> wrote:

> This perf stat option emulates valgrind's --log-fd option, allowing the
> user to send perf results elsewhere, and leaving stderr for use by the
> program under test.
> 3>results perf stat -l 3 -- <cmd>
> The perl distro's make test.valgrind target uses valgrinds --log-fd
> option, I've adapted it to invoke perf also, and tested this patch there.
> Signed-off-by: Jim Cromie <>

Makes sense!

Arnaldo, if you are fine with it, do you want to pick it up - or should i? If
you pick it up:

Acked-by: Ingo Molnar <>



 \ /
  Last update: 2011-05-21 12:37    [W:0.060 / U:1.300 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site