summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2022-08-26 15:33:36 +0800
committerAndrew Morton <akpm@linux-foundation.org>2022-09-11 21:55:11 -0700
commitcef9f5f866ad45a2dd64fed6e6b657043c2c6f17 (patch)
treea99255bc2ae6e0f591b0bd4dd7e75025859a91f7 /tools/perf/scripts/python/export-to-postgresql.py
parentf81259c6dbcefb255fa473090cd975f3827bca89 (diff)
fail_function: refactor code of checking return value of register_kprobe()
Refactor the error handling of register_kprobe() to improve readability. No functional change. Link: https://lkml.kernel.org/r/20220826073337.2085798-2-yangyingliang@huawei.com Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions