summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorChangbin Du <changbin.du@gmail.com>2022-12-31 18:14:36 +0300
committerAndrii Nakryiko <andrii@kernel.org>2023-01-04 01:27:42 +0300
commitacd3b7768048fe338248cdf43ccfbf8c084a6bc1 (patch)
treeb154e5aa4a7dc70b2dab8fe2d0166f37e465b93e /tools/perf/scripts/python/exported-sql-viewer.py
parent00883922ab404c0fc921709d8c2cec86f49c32f2 (diff)
downloadlinux-acd3b7768048fe338248cdf43ccfbf8c084a6bc1.tar.xz
libbpf: Return -ENODATA for missing btf section
As discussed before, return -ENODATA (No data available) would be more meaningful than ENOENT (No such file or directory). Suggested-by: Leo Yan <leo.yan@linaro.org> Signed-off-by: Changbin Du <changbin.du@gmail.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20221231151436.6541-1-changbin.du@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions