summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2013-12-05 12:28:03 -0500
committerTejun Heo <tj@kernel.org>2013-12-05 12:28:03 -0500
commita742c59de66ea080afa3edaf3428b3cdd5aa87cd (patch)
tree62611be278e8727cd24f86c07f245b949d2f6a6d /tools/perf/scripts/python/event_analyzing_sample.py
parent6e0755b08dd6a3b5260fafc6969268c2ba261300 (diff)
cgroup: unify cgroup_write_X64() and cgroup_write_string()
cgroup_write_X64() and cgroup_write_string() both implement about the same buffering logic. Unify the two into cgroup_file_write() which always allocates dynamic buffer for simplicity and uses kstrto*() instead of simple_strto*(). This patch doesn't make any visible behavior changes except for possibly different error value from kstrsto*(). Signed-off-by: Tejun Heo <tj@kernel.org> Acked-by: Li Zefan <lizefan@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions