summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@kernel.org>2019-10-29 06:24:26 +0300
committerDaniel Borkmann <daniel@iogearbox.net>2019-10-30 18:22:55 +0300
commit15ab09bdca616538597fe4d2eb4db3c2d28716ba (patch)
tree6bfe97e74e387d3b4941d653bac5aafc3c2cc83d /tools/perf/scripts/python/export-to-sqlite.py
parenta566e35f1e8b4b3be1e96a804d1cca38b578167c (diff)
downloadlinux-15ab09bdca616538597fe4d2eb4db3c2d28716ba.tar.xz
bpf: Enforce 'return 0' in BTF-enabled raw_tp programs
The return value of raw_tp programs is ignored by __bpf_trace_run() that calls them. The verifier also allows any value to be returned. For BTF-enabled raw_tp lets enforce 'return 0', so that return value can be used for something in the future. Signed-off-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Andrii Nakryiko <andriin@fb.com> Link: https://lore.kernel.org/bpf/20191029032426.1206762-1-ast@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions