diff options
| author | 2025-10-02 15:35:38 +0300 | |
|---|---|---|
| committer | 2025-11-20 13:15:53 +0100 | |
| commit | 04fa6bf3736d727bb800dddb23c9a513969e565d (patch) | |
| tree | e0bc4cff09ea89949b03cf92f10a4edd6540d486 /tools/lib/python | |
| parent | MAINTAINERS: Add Tomas Glozar as a maintainer to RTLA tool (diff) | |
tools/rtla: Add for_each_monitored_cpu() helper
The rtla tools have many instances of iterating over CPUs while
checking if they are monitored.
Add a for_each_monitored_cpu() helper macro to make the code
more readable and reduce code duplication.
Signed-off-by: Costa Shulyupin <costa.shul@redhat.com>
Reviewed-by: Tomas Glozar <tglozar@redhat.com>
Link: https://lore.kernel.org/r/20251002123553.389467-1-costa.shul@redhat.com
Signed-off-by: Tomas Glozar <tglozar@redhat.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
