[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1623335580-187317-1-git-send-email-john.garry@huawei.com>
Date: Thu, 10 Jun 2021 22:32:58 +0800
From: John Garry <john.garry@...wei.com>
To: <peterz@...radead.org>, <mingo@...hat.com>, <acme@...nel.org>,
<mark.rutland@....com>, <alexander.shishkin@...ux.intel.com>,
<jolsa@...hat.com>, <namhyung@...nel.org>, <irogers@...gle.com>,
<kjain@...ux.ibm.com>
CC: <linux-perf-users@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
"John Garry" <john.garry@...wei.com>
Subject: [PATCH 0/2] perf metricgroups: A couple of fixes
This series fixes a couple of subtle issues.
The first fixes a segfault from on my x86 broadwell when running the
'stat' command with a particular order of metrics.
As mentioned at [0], there is a pre-existing issue here which needs fixing
as this still does not work properly; however I think that is a bigger job,
and getting rid of the segfault is best I can do for the moment.
The second fixes an issue of an uninitialized variable. As noted in the
commit message, gcc does not seem to do a good job of picking up on this.
[0] https://lore.kernel.org/lkml/49c6fccb-b716-1bf0-18a6-cace1cdb66b9@huawei.com/
John Garry (2):
perf metricgroup: Fix find_evsel_group() event selector
perf metricgroup: Return error code from
metricgroup__add_metric_sys_event_iter()
tools/perf/util/metricgroup.c | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
--
2.26.2
Powered by blists - more mailing lists