[LTP] [PATCH v2] thermal: add new test group
Petr Vorel
pvorel@suse.cz
Fri Jan 23 20:48:36 CET 2026
Hi Piotr,
...
> Hi,
> I tried:
> SAFE_SSCANF(line, " TRM:%sThermal event interrupts", buffer);
I'm sorry, you wrote that, but I did not get that the line is based on number of
CPU core (I meant scanning into integer variables).
> But it's the same as before, only the first number ends up in the
> buffer. Still, even if I managed to put them all into buffer, I would
> still need to later divide them into individual elements of
> interrupt_array and strtok seems fit for that.
I'm usually trying to avoid using strtok(), but whatever.
Kind regards,
Petr
More information about the ltp
mailing list