Re: [PATCH 4/4 v4] perf stat: Add transaction flag (-T) support for s390
From: Arnaldo Carvalho de Melo <acme@kernel.org>
Date: 2018-07-16 20:40:30
Also in:
lkml
From: Arnaldo Carvalho de Melo <acme@kernel.org>
Date: 2018-07-16 20:40:30
Also in:
lkml
Em Tue, Jun 26, 2018 at 09:17:01AM +0200, Thomas Richter escreveu:
perf stat command line flag -T to display transaction counters is currently supported for x86 only. Add support for s390. It is based on the metrics flag -M transaction using the architecture dependend json files. This requires a metric named "transaction" in the json files for the platform. Introduce new function metricgroup__has_metric() to check for the existance of a metric_name transaction. As suggested by Andi Kleen, this is the new approach to support transactions counters. Other architectures will follow.
Applied the 4-part patch series, - Arnaldo