[PATCH bpf-next 0/3] bpf: Show precise rejected function when attaching to __noreturn and __btf_id functions

KaFai Wan posted 3 patches 2 months, 4 weeks ago
kernel/bpf/verifier.c                            |  5 ++++-
.../selftests/bpf/prog_tests/tracing_btf_ids.c   | 16 ++++++++++++++++
.../selftests/bpf/progs/fexit_noreturns.c        |  2 +-
.../selftests/bpf/progs/tracing_btf_ids.c        | 15 +++++++++++++++
4 files changed, 36 insertions(+), 2 deletions(-)
create mode 100644 tools/testing/selftests/bpf/prog_tests/tracing_btf_ids.c
create mode 100644 tools/testing/selftests/bpf/progs/tracing_btf_ids.c
[PATCH bpf-next 0/3] bpf: Show precise rejected function when attaching to __noreturn and __btf_id functions
Posted by KaFai Wan 2 months, 4 weeks ago
Show precise rejected function name when attaching to __noreturn and 
__btf_id functions.
Add selftest for attaching tracing to __btf_id functions.

---
KaFai Wan (3):
  bpf: Show precise rejected function when attaching to __noreturn
    functions
  bpf: Show precise rejected function when attaching to __btf_id
    functions
  selftests/bpf: Add selftest for attaching tracing to __btf_id
    functions

 kernel/bpf/verifier.c                            |  5 ++++-
 .../selftests/bpf/prog_tests/tracing_btf_ids.c   | 16 ++++++++++++++++
 .../selftests/bpf/progs/fexit_noreturns.c        |  2 +-
 .../selftests/bpf/progs/tracing_btf_ids.c        | 15 +++++++++++++++
 4 files changed, 36 insertions(+), 2 deletions(-)
 create mode 100644 tools/testing/selftests/bpf/prog_tests/tracing_btf_ids.c
 create mode 100644 tools/testing/selftests/bpf/progs/tracing_btf_ids.c

-- 
2.43.0