diff options
| author | Andrii Nakryiko <[email protected]> | 2019-12-11 17:35:48 -0800 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2019-12-13 12:58:51 -0800 |
| commit | 6803ee25f0ead1e836808acb14396bb9a9849113 (patch) | |
| tree | b2e7b3306d10c300d91b150867eeb0d57877ae08 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 7708bd430d88309333b0d0eb7783cddd0874dd14 (diff) | |
libbpf: Extract and generalize CPU mask parsing logic
This logic is re-used for parsing a set of online CPUs. Having it as an
isolated piece of code working with input string makes it conveninent to test
this logic as well. While refactoring, also improve the robustness of original
implementation.
Signed-off-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions