Lines Matching refs:perf_count
230 u64 perf_count; /* Most recently fetched perf performance counter value */ in same_watch_addr_test() local
271 FAIL_IF_MSG(perf_read_counter(perf_fd, &perf_count), "Failed to read perf counter"); in same_watch_addr_test()
272 FAIL_IF_MSG(perf_count != 0, "perf recorded unexpected event"); in same_watch_addr_test()
281 FAIL_IF_MSG(perf_read_counter(perf_fd, &perf_count), "Failed to read perf counter"); in same_watch_addr_test()
282 FAIL_IF_MSG(perf_count != 1, "perf counter did not increment"); in same_watch_addr_test()
299 FAIL_IF_MSG(perf_read_counter(perf_fd, &perf_count), "Failed to read perf counter"); in same_watch_addr_test()
300 FAIL_IF_MSG(perf_count != 1, "perf counter should not have changed"); in same_watch_addr_test()
309 FAIL_IF_MSG(perf_read_counter(perf_fd, &perf_count), "Failed to read perf counter"); in same_watch_addr_test()
310 FAIL_IF_MSG(perf_count != 2, "perf counter did not increment"); in same_watch_addr_test()
324 FAIL_IF_MSG(perf_read_counter(perf_fd, &perf_count), "Failed to read perf counter"); in same_watch_addr_test()
325 FAIL_IF_MSG(perf_count != 3, "perf counter did not increment"); in same_watch_addr_test()
342 FAIL_IF_MSG(perf_read_counter(perf_fd, &perf_count), "Failed to read perf counter"); in same_watch_addr_test()
343 FAIL_IF_MSG(perf_count != 3, "perf counter should not have changed"); in same_watch_addr_test()
357 FAIL_IF_MSG(perf_read_counter(perf_fd, &perf_count), "Failed to read perf counter"); in same_watch_addr_test()
358 FAIL_IF_MSG(perf_count != 3, "perf counter should not have changed"); in same_watch_addr_test()
384 u64 perf_count; /* Most recently fetched perf performance counter value */ in perf_then_ptrace_test() local
428 FAIL_IF_MSG(perf_read_counter(perf_fd, &perf_count), "Failed to read perf counter"); in perf_then_ptrace_test()
429 FAIL_IF_MSG(perf_count != 1, "perf counter did not increment"); in perf_then_ptrace_test()