Searched refs:usdt12_args (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_usdt.c | 66 u64 usdt12_args[12]; variable 81 usdt12_args[0] = a1; in BPF_USDT() 82 usdt12_args[1] = a2; in BPF_USDT() 83 usdt12_args[2] = a3; in BPF_USDT() 84 usdt12_args[3] = a4; in BPF_USDT() 85 usdt12_args[4] = a5; in BPF_USDT() 86 usdt12_args[5] = a6; in BPF_USDT() 87 usdt12_args[6] = a7; in BPF_USDT() 88 usdt12_args[7] = a8; in BPF_USDT() 89 usdt12_args[8] = a9; in BPF_USDT() [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | usdt.c | 94 ASSERT_EQ(bss->usdt12_args[0], 1, "usdt12_arg1"); in subtest_basic_usdt() 95 ASSERT_EQ(bss->usdt12_args[1], 1 + 1, "usdt12_arg2"); in subtest_basic_usdt() 96 ASSERT_EQ(bss->usdt12_args[2], 42, "usdt12_arg3"); in subtest_basic_usdt() 97 ASSERT_EQ(bss->usdt12_args[3], 42 + 1, "usdt12_arg4"); in subtest_basic_usdt() 98 ASSERT_EQ(bss->usdt12_args[4], 5, "usdt12_arg5"); in subtest_basic_usdt() 99 ASSERT_EQ(bss->usdt12_args[5], 42 / 7, "usdt12_arg6"); in subtest_basic_usdt() 100 ASSERT_EQ(bss->usdt12_args[6], bla, "usdt12_arg7"); in subtest_basic_usdt() 102 ASSERT_EQ(bss->usdt12_args[8], -9, "usdt12_arg9"); in subtest_basic_usdt() 105 ASSERT_EQ(bss->usdt12_args[11], t1.y, "usdt12_arg12"); in subtest_basic_usdt() 122 ASSERT_EQ(bss->usdt12_args[0], 2, "usdt12_arg1"); in subtest_basic_usdt() [all …]
|