Re: [RFC PATCH v2 1/5] perf stat: Implement --topdown with metrics

From: John Garry
Date: Fri Jan 28 2022 - 08:44:56 EST


On 11/01/2022 15:07, Andrew Kilroy wrote:
}
+
+bool topdown_can_use_json_metrics(void)

nit: maybe topdown_can_use_metricgroups() could be better

+{
+#if defined(__aarch64__)
+ return true;
+#else
+ return false;
+#endif

it might be worth just having !x86, just that is prob too much forward looking

+}
+