Skip to content

Instruction share wrong on non-US systems #2

@ArneTR

Description

@ArneTR

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions