Re: [PATCH 1/2] perf stat: add -l <N> option to redirect stderrelsewhere
From: Arnaldo Carvalho de Melo
Date: Sat May 21 2011 - 16:42:05 EST
Em Sat, May 21, 2011 at 12:34:18PM +0200, Ingo Molnar escreveu:
>
> * Jim Cromie <jim.cromie@xxxxxxxxx> 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@xxxxxxxxx>
>
> 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@xxxxxxx>
Its ok with me:
Acked-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
I will pick it this weekend, if you don't merge it till then.
- Arnaldo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/