Searched refs:pe_read (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/tools/testing/selftests/resctrl/ ! |
D | cache.c | 40 void perf_event_initialize_read_format(struct perf_event_read *pe_read) in perf_event_initialize_read_format() argument 42 memset(pe_read, 0, sizeof(*pe_read)); in perf_event_initialize_read_format() 43 pe_read->nr = 1; in perf_event_initialize_read_format() 135 int perf_event_measure(int pe_fd, struct perf_event_read *pe_read, in perf_event_measure() argument 145 ret = read(pe_fd, pe_read, sizeof(*pe_read)); in perf_event_measure() 151 return print_results_cache(filename, bm_pid, pe_read->values[0].value); in perf_event_measure()
|
D | resctrl.h | 168 void perf_event_initialize_read_format(struct perf_event_read *pe_read); 171 int perf_event_measure(int pe_fd, struct perf_event_read *pe_read,
|
D | cat_test.c | 161 struct perf_event_read pe_read; in cat_test() local 185 perf_event_initialize_read_format(&pe_read); in cat_test() 218 ret = perf_event_measure(pe_fd, &pe_read, param->filename, bm_pid); in cat_test()
|