Searched refs:TEST_SIG_DATA (Results 1 – 2 of 2) sorted by relevance
/linux/tools/testing/selftests/perf_events/ |
H A D | sigtrap_threads.c | 47 #define TEST_SIG_DATA(addr, id) (~(unsigned long)(addr) + id) macro 64 .sig_data = TEST_SIG_DATA(addr, id), in make_event_attr() 175 EXPECT_EQ(ctx.first_siginfo.si_perf_data, TEST_SIG_DATA(&ctx.iterate_on, 0)); in TEST_F() 194 EXPECT_EQ(ctx.first_siginfo.si_perf_data, TEST_SIG_DATA(&ctx.iterate_on, 42)); in TEST_F() 214 EXPECT_EQ(ctx.first_siginfo.si_perf_data, TEST_SIG_DATA(&ctx.iterate_on, 0)); in TEST_F() 237 EXPECT_EQ(ctx.first_siginfo.si_perf_data, TEST_SIG_DATA(&ctx.iterate_on, 0)); in TEST_F()
|
/linux/tools/perf/tests/ |
H A D | sigtrap.c | 34 #define TEST_SIG_DATA (~(unsigned long)(&ctx.iterate_on)) macro 50 .sig_data = TEST_SIG_DATA, in make_event_attr() 227 TEST_SIG_DATA); in run_stress_test()
|