summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2024-08-12 15:48:52 +0300
committerMasahiro Yamada <masahiroy@kernel.org>2024-09-01 14:34:48 +0300
commitaeaa4283a309520c22a783071f554645943955d8 (patch)
tree4f61ef553883115c7bd7efd4da8bd124e02a62c9 /tools/perf/scripts/python/export-to-postgresql.py
parent4c2598e3b62102d5ea7f618e13d996b069cde27d (diff)
downloadlinux-aeaa4283a309520c22a783071f554645943955d8.tar.xz
kallsyms: use xmalloc() and xrealloc()
When malloc() or realloc() fails, there is not much userspace programs can do. xmalloc() and xrealloc() are useful to bail out on a memory allocation failure. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions