diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2022-01-15 17:11:10 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2022-01-15 17:41:25 -0300 |
commit | 37be585807cb9a810f8395c39c4ee7bdbdc7b0dc (patch) | |
tree | 4cef1343ee394264a1190bbb9b6d7b6b4e84fd4b /tools/perf/scripts/python | |
parent | d3e2bb4359f70c8b1d09a6f8e2f57240aab0da3f (diff) |
perf cpumap: Add is_dummy() method
Needed to check if a cpu_map is dummy, i.e. not a cpu map at all, for
pid monitoring scenarios.
This probably needs to move to libperf, but since perf itself is the
first and so far only user, leave it at tools/perf/util/.
Acked-by: Andi Kleen <[email protected]>
Acked-by: Ian Rogers <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions