Messages in this thread | | | From | Andi Kleen <> | Subject | Re: [PATCH 4/4] perf stat: Add transaction flag (-T) support for s390 | Date | Thu, 21 Jun 2018 19:36:04 -0700 |
| |
Thomas Richter <tmricht@linux.ibm.com> writes: > > + /* Handle -T as -M transaction. Once platform specific metrics > + * support has been added to the json files, all archiectures > + * will use this approach. > + */ > + if (!strcmp(perf_env__arch(NULL), "s390")) {
Use pmu_have_event() instead.
You may need to add support for wildcard pmus to it.
-Andi
| |