Searched refs:perf_page (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/tools/testing/selftests/user_events/ |
H A D | perf_test.c | 137 struct perf_event_mmap_page *perf_page; in TEST_F() local 170 perf_page = mmap(NULL, page_size * 2, PROT_READ, MAP_SHARED, fd, 0); in TEST_F() 171 ASSERT_NE(MAP_FAILED, perf_page); in TEST_F() 182 val = (void *)(((char *)perf_page) + perf_page->data_offset); in TEST_F() 191 munmap(perf_page, page_size * 2); in TEST_F() 201 struct perf_event_mmap_page *perf_page; in TEST_F() local 232 perf_page = mmap(NULL, page_size * 2, PROT_READ, MAP_SHARED, fd, 0); in TEST_F() 233 ASSERT_NE(MAP_FAILED, perf_page); in TEST_F() 241 val = (void *)(((char *)perf_page) + perf_page->data_offset); in TEST_F() 244 munmap(perf_page, page_size * 2); in TEST_F()
|