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

* Jim Cromie <jim.cromie@gmail.com> 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 <jim.cromie@gmail.com>

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 <mingo@elte.hu>

Thanks,

Ingo


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