Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1231960

Re: [PATCH 5/9] perf, tools, stat: Move noise/running printing into printout

From Jiri Olsa <jolsa@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH 5/9] perf, tools, stat: Move noise/running printing into printout
Date 2015-09-24 11:10 +0200
Message-ID <qcaHo-6Yx-13@gated-at.bofh.it> (permalink)
References <qbja1-57d-3@gated-at.bofh.it> <qbja2-57d-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Sep 21, 2015 at 04:50:00PM -0700, Andi Kleen wrote:
> From: Andi Kleen <ak@linux.intel.com>
> 
> 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@linux.intel.com>

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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH 5/9] perf, tools, stat: Move noise/running printing into  printout Jiri Olsa <jolsa@redhat.com> - 2015-09-24 11:10 +0200

csiph-web