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


Groups > linux.kernel > #1231960 > unrolled thread

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

Started byJiri Olsa <jolsa@redhat.com>
First post2015-09-24 11:10 +0200
Last post2015-09-24 11:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

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

FromJiri Olsa <jolsa@redhat.com>
Date2015-09-24 11:10 +0200
SubjectRe: [PATCH 5/9] perf, tools, stat: Move noise/running printing into printout
Message-ID<qcaHo-6Yx-13@gated-at.bofh.it>
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/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web