Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/perf_events/
Dsigtrap_threads.c43 siginfo_t first_siginfo; /* First observed siginfo_t. */ member
83 ctx.first_siginfo = *info; in sigtrap_handler()
173 EXPECT_EQ(ctx.first_siginfo.si_addr, &ctx.iterate_on); in TEST_F()
174 EXPECT_EQ(ctx.first_siginfo.si_perf_type, PERF_TYPE_BREAKPOINT); in TEST_F()
175 EXPECT_EQ(ctx.first_siginfo.si_perf_data, TEST_SIG_DATA(&ctx.iterate_on, 0)); in TEST_F()
192 EXPECT_EQ(ctx.first_siginfo.si_addr, &ctx.iterate_on); in TEST_F()
193 EXPECT_EQ(ctx.first_siginfo.si_perf_type, PERF_TYPE_BREAKPOINT); in TEST_F()
194 EXPECT_EQ(ctx.first_siginfo.si_perf_data, TEST_SIG_DATA(&ctx.iterate_on, 42)); in TEST_F()
212 EXPECT_EQ(ctx.first_siginfo.si_addr, &ctx.iterate_on); in TEST_F()
213 EXPECT_EQ(ctx.first_siginfo.si_perf_type, PERF_TYPE_BREAKPOINT); in TEST_F()
[all …]
/Linux-v6.6/tools/perf/tests/
Dsigtrap.c31 siginfo_t first_siginfo; /* First observed siginfo_t. */ member
118 ctx.first_siginfo = *info; in sigtrap_handler()
161 TEST_ASSERT_VAL("unexpected si_addr", ctx.first_siginfo.si_addr == &ctx.iterate_on); in run_stress_test()
163 TEST_ASSERT_EQUAL("unexpected si_perf_type", ctx.first_siginfo.si_perf_type, in run_stress_test()
165 TEST_ASSERT_EQUAL("unexpected si_perf_data", ctx.first_siginfo.si_perf_data, in run_stress_test()