diff options
| author | Costa Shulyupin <costa.shul@redhat.com> | 2025-10-02 15:35:38 +0300 |
|---|---|---|
| committer | Tomas Glozar <tglozar@redhat.com> | 2025-11-20 13:15:53 +0100 |
| commit | 04fa6bf3736d727bb800dddb23c9a513969e565d (patch) | |
| tree | e0bc4cff09ea89949b03cf92f10a4edd6540d486 /scripts/generate_rust_analyzer.py | |
| parent | 0d5077c73aceb51ef10d096160dd62a11db2f3e4 (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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions
