Messages in this thread | | | Date | Sat, 21 May 2011 12:34:18 +0200 | From | Ingo Molnar <> | Subject | Re: [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
| |