Re: [PATCH 1/2] perf stat: add -l <N> option to redirect stderrelsewhere

From: Ingo Molnar
Date: Sat May 21 2011 - 06:34:30 EST



* 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>

Thanks,

Ingo
--
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/