summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorKamalesh Babulal <kamalesh.babulal@oracle.com>2022-11-18 13:13:30 +0300
committerTejun Heo <tj@kernel.org>2022-11-22 23:25:37 +0300
commit1e85591db11b7ac097a1b34887c682e6353798c4 (patch)
tree9a944273d0847c0eccac7305f01e077aa430abf7 /tools/perf/scripts/python/exported-sql-viewer.py
parent7fd4da9c1584be97ffbc40e600a19cb469fd4e78 (diff)
downloadlinux-1e85591db11b7ac097a1b34887c682e6353798c4.tar.xz
kselftest/cgroup: Add cleanup() to test_cpuset_prs.sh
Install a cleanup function using the trap command for signals EXIT, SIGINT, SIGQUIT and SIGABRT. The cleanup function will perform: 1. Online the CPUs that were made offline during the test. 2. Removing the cgroups created. 3. Restoring the original /sys/kernel/debug/sched/verbose value, currently it's left turned on, irrespective of the original configuration value. the test performs steps 1 and 2, on the successful runs, but not during all of the failed runs. With the cleanup(), the system will perform all three steps during failed/passed test runs. Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com> Acked-by: Waiman Long <longman@redhat.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions