Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Ddummy_st_ops.c61 struct trace_dummy_st_ops *trace_skel; in test_dummy_init_ptr_arg() local
71 trace_skel = trace_dummy_st_ops__open(); in test_dummy_init_ptr_arg()
72 if (!ASSERT_OK_PTR(trace_skel, "trace_dummy_st_ops__open")) in test_dummy_init_ptr_arg()
75 err = bpf_program__set_attach_target(trace_skel->progs.fentry_test_1, in test_dummy_init_ptr_arg()
80 err = trace_dummy_st_ops__load(trace_skel); in test_dummy_init_ptr_arg()
84 err = trace_dummy_st_ops__attach(trace_skel); in test_dummy_init_ptr_arg()
92 ASSERT_EQ(trace_skel->bss->val, exp_retval, "fentry_val"); in test_dummy_init_ptr_arg()
96 trace_dummy_st_ops__destroy(trace_skel); in test_dummy_init_ptr_arg()