summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorJoshua Hahn <joshua.hahn6@gmail.com>2024-10-02 21:47:17 +0300
committerTejun Heo <tj@kernel.org>2024-10-08 21:50:54 +0300
commit2e82c0d4562a4b8292af83577b70af888a93d16d (patch)
tree569659ecd6a406f52721b2a02cb09f13388f4056 /tools/perf/scripts/python/task-analyzer.py
parentaefa398d93d5db7c555be78a605ff015357f127d (diff)
downloadlinux-2e82c0d4562a4b8292af83577b70af888a93d16d.tar.xz
cgroup/rstat: Selftests for niced CPU statistics
Creates a cgroup with a single nice CPU hog process running. fork() is called to generate the nice process because un-nicing is not possible (see man nice(3)). If fork() was not used to generate the CPU hog, we would run the rest of the cgroup selftest suite as a nice process. Signed-off-by: Joshua Hahn <joshua.hahnjy@gmail.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions