commit | cfc34e8e2edc1d8ab7dde3a065bf708448ee9680 | [log] [tgz] |
---|---|---|
author | Jiri Olsa <jolsa@kernel.org> | Mon Sep 05 22:42:08 2022 +0200 |
committer | Jiri Olsa <jolsa@kernel.org> | Fri Jan 20 15:52:00 2023 +0100 |
tree | 3ad940dc823be78426cea4032ca4c7c6ca07223e | |
parent | 52454dab859150561a4e93ff6c98a7d9be86679c [diff] |
selftests/bpf: Adding test for attach id vs prototype mismatch Adding hack into libbpf so we resolve function into BTF id specified by KRAVA variable. Getting trace output from bpf program attached to bpf_test_func: test_progs-684 [001] ...11 99.660596: bpf_trace_printk: KRAVA 0000000000000001 0000000000000000 Signed-off-by: Jiri Olsa <jolsa@kernel.org>