summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorGeliang Tang <tanggeliang@kylinos.cn>2024-02-08 14:24:21 +0800
committerMartin KaFai Lau <martin.lau@kernel.org>2024-02-08 11:05:07 -0800
commitb9a395f0f7af66fe8224450481b99d4f83b57207 (patch)
tree1d92c1af25cd8725f9d870209de02717462b69bb /tools/perf/scripts/python/call-graph-from-postgresql.py
parente55dad12abe42383b68ba88212eb3d0fba0e9820 (diff)
bpf, btf: Fix return value of register_btf_id_dtor_kfuncs
The same as __register_btf_kfunc_id_set(), to let the modules with stripped btf section loaded, this patch changes the return value of register_btf_id_dtor_kfuncs() too from -ENOENT to 0 when btf is NULL. Signed-off-by: Geliang Tang <tanggeliang@kylinos.cn> Link: https://lore.kernel.org/r/eab65586d7fb0e72f2707d3747c7d4a5d60c823f.1707373307.git.tanggeliang@kylinos.cn Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions