diff options
author | Waiman Long <longman@redhat.com> | 2018-11-08 18:08:37 +0300 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2018-11-08 23:27:28 +0300 |
commit | bf92370c035d5ed73a90927450c20a07adf08cfd (patch) | |
tree | bfc7686ca36b5bab5c7f7c0fb2c7fa9885834cab /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 58b7484250db8da0d49bdd289c877ccd3319575c (diff) | |
download | linux-bf92370c035d5ed73a90927450c20a07adf08cfd.tar.xz |
cpuset: Simply allocation and freeing of cpumasks
The previous commit introduces a new subparts_cpus mask into the cpuset
data structure and a new tmpmasks structure. Managing the allocation
and freeing of those cpumasks is becoming more complex.
So a number of helper functions are added to simplify and streamline
the management of those cpumasks. To make it simple, all the cpumasks
are now pre-cleared on allocation.
Signed-off-by: Waiman Long <longman@redhat.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions