lkml.org 
[lkml]   [2018]   [Jun]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 4/4] perf stat: Add transaction flag (-T) support for s390
Date
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

\
 
 \ /
  Last update: 2018-06-22 04:37    [W:0.119 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site