In order to parse the output of perf_events a regex is used that relies on the US usage of commas and dots to separate decimal places and thousands.
When having for instance a DE system that uses commas and dots exactly the other way round the regex does skew the number.
Either python number parsing should be used which auto detects the number or the LC* variable should be determined when parsing the output beforehand to properly select the decimal separator.
In order to parse the output of perf_events a regex is used that relies on the US usage of commas and dots to separate decimal places and thousands.
When having for instance a DE system that uses commas and dots exactly the other way round the regex does skew the number.
Either python number parsing should be used which auto detects the number or the LC* variable should be determined when parsing the output beforehand to properly select the decimal separator.