Re: [PATCH v2 04/18] rtla: Replace atoi() with a robust strtoi()
From: Tomas Glozar
Date: Mon Jan 12 2026 - 07:39:17 EST
po 12. 1. 2026 v 13:28 odesílatel Costa Shulyupin
<costa.shul@xxxxxxxxxx> napsal:
>
> This commit breaks parse_cpu_set
>
> ./rtla timerlat hist -D -c 1,3
> Error parsing the cpu set 1,3
> Invalid -c cpu list
>
> ./rtla timerlat hist -D -c 1-3
> Error parsing the cpu set 1-3
> Invalid -c cpu list
>
It might not be the worst idea to test more than just "-c 0" in
tests/timerlat.t :)
Tomas