Messages in this thread | | | From | John Garry <> | Subject | [PATCH 0/2] perf metricgroups: A couple of fixes | Date | Thu, 10 Jun 2021 22:32:58 +0800 |
| |
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
| |