Home
last modified time | relevance | path

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

/linux-5.19.10/tools/testing/selftests/powerpc/pmu/sampling_tests/
Dmisc.c186 void *__event_read_samples(void *sample_buff, size_t *size, u64 *sample_count) in __event_read_samples() argument
189 struct perf_event_header *header = sample_buff + page_size; in __event_read_samples()
190 struct perf_event_mmap_page *metadata_page = sample_buff; in __event_read_samples()
225 return sample_buff + page_size + data_tail; in __event_read_samples()
240 int collect_samples(void *sample_buff) in collect_samples() argument
245 __event_read_samples(sample_buff, &size, &sample_count); in collect_samples()
249 static void *perf_read_first_sample(void *sample_buff, size_t *size) in perf_read_first_sample() argument
251 return __event_read_samples(sample_buff, size, NULL); in perf_read_first_sample()
254 u64 *get_intr_regs(struct event *event, void *sample_buff) in get_intr_regs() argument
263 intr_regs = (u64 *)perf_read_first_sample(sample_buff, &size); in get_intr_regs()
Dmisc.h51 void *__event_read_samples(void *sample_buff, size_t *size, u64 *sample_count);
52 int collect_samples(void *sample_buff);
53 u64 *get_intr_regs(struct event *event, void *sample_buff);