aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.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/export-to-postgresql.py
parentcgroup: remove cftype->read(), ->read_map() and ->write() (diff)
downloadlinux-dev-a742c59de66ea080afa3edaf3428b3cdd5aa87cd.tar.xz
linux-dev-a742c59de66ea080afa3edaf3428b3cdd5aa87cd.zip
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions