Home
last modified time | relevance | path

Searched refs:raw_btf_data (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dlog_buf.c202 const void *raw_btf_data; in bpf_btf_load_log_buf() local
214 raw_btf_data = btf__raw_data(btf, &raw_btf_size); in bpf_btf_load_log_buf()
215 if (!ASSERT_OK_PTR(raw_btf_data, "raw_btf_data_good")) in bpf_btf_load_log_buf()
227 fd = bpf_btf_load(raw_btf_data, raw_btf_size, &opts); in bpf_btf_load_log_buf()
237 fd = bpf_btf_load(raw_btf_data, raw_btf_size, &opts); in bpf_btf_load_log_buf()
248 raw_btf_data = btf__raw_data(btf, &raw_btf_size); in bpf_btf_load_log_buf()
249 if (!ASSERT_OK_PTR(raw_btf_data, "raw_btf_data_bad")) in bpf_btf_load_log_buf()
255 fd = bpf_btf_load(raw_btf_data, raw_btf_size, &opts); in bpf_btf_load_log_buf()
H A Dunpriv_bpf_disabled.c209 const void *raw_btf_data; in test_unpriv_bpf_disabled_negative() local
212 raw_btf_data = btf__raw_data(btf, &raw_btf_size); in test_unpriv_bpf_disabled_negative()
213 if (ASSERT_OK_PTR(raw_btf_data, "raw_btf_data_good")) in test_unpriv_bpf_disabled_negative()
214 ASSERT_EQ(bpf_btf_load(raw_btf_data, raw_btf_size, NULL), -EPERM, in test_unpriv_bpf_disabled_negative()