Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/powerpc/pmu/sampling_tests/
Dmisc.c200 void *__event_read_samples(void *sample_buff, size_t *size, u64 *sample_count) in __event_read_samples() argument
203 struct perf_event_header *header = sample_buff + page_size; in __event_read_samples()
204 struct perf_event_mmap_page *metadata_page = sample_buff; in __event_read_samples()
239 return sample_buff + page_size + data_tail; in __event_read_samples()
254 int collect_samples(void *sample_buff) in collect_samples() argument
259 __event_read_samples(sample_buff, &size, &sample_count); in collect_samples()
263 static void *perf_read_first_sample(void *sample_buff, size_t *size) in perf_read_first_sample() argument
265 return __event_read_samples(sample_buff, size, NULL); in perf_read_first_sample()
268 u64 *get_intr_regs(struct event *event, void *sample_buff) in get_intr_regs() argument
278 intr_regs = (u64 *)perf_read_first_sample(sample_buff, &size); in get_intr_regs()
Dmisc.h53 void *__event_read_samples(void *sample_buff, size_t *size, u64 *sample_count);
54 int collect_samples(void *sample_buff);
55 u64 *get_intr_regs(struct event *event, void *sample_buff);