summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorRoman Gushchin <guro@fb.com>2019-04-09 01:12:30 +0300
committerShuah Khan <shuah@kernel.org>2019-04-09 01:44:22 +0300
commite14d314c7a489f060d6d691866fef5f131281718 (patch)
tree64e018ae764324140b73f0f751973c579f653bea /tools/perf/scripts/python/export-to-postgresql.py
parentf8a0590f0e01402873ec28a0da46f979f6bc56f1 (diff)
downloadlinux-e14d314c7a489f060d6d691866fef5f131281718.tar.xz
selftests: cgroup: fix cleanup path in test_memcg_subtree_control()
Dan reported, that cleanup path in test_memcg_subtree_control() triggers a static checker warning: ./tools/testing/selftests/cgroup/test_memcontrol.c:76 \ test_memcg_subtree_control() error: uninitialized symbol 'child2'. Fix this by initializing child2 and parent2 variables and split the cleanup path into few stages. Signed-off-by: Roman Gushchin <guro@fb.com> Fixes: 84092dbcf901 ("selftests: cgroup: add memory controller self-tests") Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Cc: Dan Carpenter <dan.carpenter@oracle.com> Cc: Shuah Khan (Samsung OSG) <shuah@kernel.org> Cc: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Shuah Khan <shuah@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions