Re: [PATCH 5/9] perf, tools, stat: Move noise/running printing into printout
From: Jiri Olsa
Date: Thu Sep 24 2015 - 05:02:12 EST
On Mon, Sep 21, 2015 at 04:50:00PM -0700, Andi Kleen wrote:
> From: Andi Kleen <ak@xxxxxxxxxxxxxxx>
>
> Move the running/noise printing into printout to avoid
> duplicated code in the callers.
>
> v2: Merged with other patches. Remove unnecessary hunk.
> Readd hunk that ended in earlier patch.
> Signed-off-by: Andi Kleen <ak@xxxxxxxxxxxxxxx>
before this patch:
[jolsa@krava perf]$ ./perf stat -e cycles -I 1000 -x, yes > /dev/null
1.000094538,3096196189,,cycles,999950202,100.00
2.000221468,3166074438,,cycles,1000343225,100.00
3.000337023,3176613442,,cycles,1000467727,100.00
after this patch:
[jolsa@krava perf]$ ./perf stat -e cycles -I 1000 -x, yes > /dev/null
1.000108411,3181447248,,cycles
2.000223843,3183422336,,cycles
3.000327830,3176506268,,cycles
jirka
--
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/