Thomas Richter <tmri...@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