Re: [PATCH v5 1/5] perf metric: Event "Compat" value supports matching multiple identifiers

From: John Garry
Date: Mon Jul 31 2023 - 09:17:11 EST


On 31/07/2023 11:59, Jing Zhang wrote:
why not use a comma-separated list? that is more common

Hi John,

I use a semicolon instead of a comma because I want to distinguish it from the function
of the comma in "Unit" and avoid confusion between the use of commas in "Unit" and "Compat".
Because in “Compat”, the semicolon means "or". So I think semicolons are more appropriate,
what do you think?


I suppose semicolon is ok in this case.

Thanks,
John