Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1347266
| Path | csiph.com!weretis.net!feeder4.news.weretis.net!news.mixmin.net!aioe.org!gothmog.csi.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| Newsgroups | linux.kernel |
| Subject | [PATCH 4.4 271/342] perf stat: Do not clean events private stats |
| Date | Wed, 02 Mar 2016 01:30:05 +0100 |
| Message-ID | <r82PX-8co-69@gated-at.bofh.it> (permalink) |
| References | <r82mS-7Ml-9@gated-at.bofh.it> |
| X-Original-To | <linux-kernel@vger.kernel.org> |
| Dkim-Signature | v=1; a=rsa-sha1; c=relaxed/relaxed; s=mandrill; d=linuxfoundation.org; h=From:Subject:To:Cc:Message-Id:In-Reply-To:References:Date:MIME-Version:Content-Type:Content-Transfer-Encoding; i=gregkh@linuxfoundation.org; bh=woCsRehAsQ0SLOwdOSfws/IftAQ=; b=iDxxHLZf3xjtzGx7AKVRhCZvQjpWlnmDQ3wM3ACUmMdqT0ucxIiuDyzyQXllxxZPPpOQNFePcOH9 GYV1iYojodKLDTTJlkYayMb4JyWXFgZFFkRbgDvWsx9eaG+wAXBDSUsWVhiebAvR8nXZAHTgjo+u zFaECDu/h6U7Lxvdu+w= |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=mandrillapp.com; i=@mandrillapp.com; q=dns/txt; s=mandrill; t=1456876517; h=From : Subject : To : Cc : Message-Id : In-Reply-To : References : Date : MIME-Version : Content-Type : Content-Transfer-Encoding : From : Subject : Date : X-Mandrill-User : List-Unsubscribe; bh=lOa0fCVuCK5SWCcsDAPwpneoSyhfB0srexp/PLFBkxs=; b=M+yIxzrM3sGQaEGQY294olgbNx31ZQlOTCDAFCuCmyWeKXceeZWvEjeMkc3r5vWwklNnx6 TC4kJEizm0fQkd6rPCkC+siQyP9pNRS9EP73pXD129OXYiky/W4iEJ+56XsP1vfUZou9Bwys xr7IMYtWMdcpxs3BFdkkwCBvBPf34= |
| X-Mailer | git-send-email 2.7.2 |
| X-Report-Abuse | Please forward a copy of this message, including all headers, to abuse@mandrill.com |
| X-Report-Abuse | You can also report abuse here: http://mandrillapp.com/contact/abuse?id=30481620.1abf1f4da2324e9ca49acfbdd9755aac |
| X-Mandrill-User | md_30481620 |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | 7bit |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 46 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | Greg Kroah-Hartman <gregkh@linuxfoundation.org>, <stable@vger.kernel.org>, Jiri Olsa <jolsa@kernel.org>, David Ahern <dsahern@gmail.com>, Namhyung Kim <namhyung@kernel.org>, Peter Zijlstra <a.p.zijlstra@chello.nl>, Arnaldo Carvalho de Melo <acme@redhat.com> |
| X-Original-Date | Tue, 01 Mar 2016 23:55:17 +0000 |
| X-Original-Message-ID | <20160301234536.671109974@linuxfoundation.org> |
| X-Original-References | <20160301234527.990448862@linuxfoundation.org> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1347266 |
Show key headers only | View raw
4.4-stable review patch. If anyone has any objections, please let me know.
------------------
From: Jiri Olsa <jolsa@kernel.org>
commit 3f416f22d1e21709a631189ba169f76fd267b374 upstream.
Mel reported stddev reporting was broken due to following commit:
106a94a0f8c2 ("perf stat: Introduce read_counters function")
This commit merged interval and overall counters reading into single
read_counters function.
The old interval code cleaned the stddev data for some reason (it's
never displayed in interval mode) and the mentioned commit kept on
cleaning the stddev data in merged function, which resulted in the
stddev not being displayed.
Removing the wrong stddev data cleanup init_stats call.
Reported-and-Tested-by: Mel Gorman <mgorman@techsingularity.net>
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Fixes: 106a94a0f8c2 ("perf stat: Introduce read_counters function")
Link: http://lkml.kernel.org/r/1453290995-18485-4-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
tools/perf/util/stat.c | 1 -
1 file changed, 1 deletion(-)
--- a/tools/perf/util/stat.c
+++ b/tools/perf/util/stat.c
@@ -310,7 +310,6 @@ int perf_stat_process_counter(struct per
int i, ret;
aggr->val = aggr->ena = aggr->run = 0;
- init_stats(ps->res_stats);
if (counter->per_pkg)
zero_per_pkg(counter);
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH 4.4 271/342] perf stat: Do not clean events private stats Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-03-02 01:30 +0100
csiph-web