summaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorLi Zefan <lizefan@huawei.com>2013-06-05 13:15:59 +0400
committerTejun Heo <tj@kernel.org>2013-06-06 00:55:14 +0400
commita73456f37b9dbc917398387d0cba926b4455b70f (patch)
treef719feff0ea9d7d42b0015a4cd388e2f5b072a4b /tools/perf/util/scripting-engines/trace-event-python.c
parent249cc86db7492dc8de1d2eddebc6bcc4ab2a8e9e (diff)
downloadlinux-a73456f37b9dbc917398387d0cba926b4455b70f.tar.xz
cpuset: re-structure update_cpumask() a bit
Check if cpus_allowed is to be changed before calling validate_change(). This won't change any behavior, but later it will allow us to do this: # mkdir /cpuset/child # echo $$ > /cpuset/child/tasks /* empty cpuset */ # echo > /cpuset/child/cpuset.cpus /* do nothing, won't fail */ Without this patch, the last operation will fail. Signed-off-by: Li Zefan <lizefan@huawei.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions