aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2021-04-23 11:13:34 -0700
committerAlexei Starovoitov <[email protected]>2021-04-23 14:05:26 -0700
commitaea28a602fa19fb4fe66374030ab7e2c8ddf643e (patch)
tree044aaf22b476bf1e16840f21a1a34eb996eed748 /tools/perf/scripts/python/bin/export-to-postgresql-report
parent0fec7a3cee1cf8e4f86ff563d229408ccbdc2d66 (diff)
libbpf: Mark BPF subprogs with hidden visibility as static for BPF verifier
Define __hidden helper macro in bpf_helpers.h, which is a short-hand for __attribute__((visibility("hidden"))). Add libbpf support to mark BPF subprograms marked with __hidden as static in BTF information to enforce BPF verifier's static function validation algorithm, which takes more information (caller's context) into account during a subprogram validation. Signed-off-by: Andrii Nakryiko <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: Yonghong Song <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions