Home
last modified time | relevance | path

Searched refs:read_event (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/kernel/trace/
Dring_buffer_benchmark.c85 static enum event_status read_event(int cpu) in read_event() function
203 stat = read_event(cpu); in ring_buffer_consumer()
/linux-6.6.21/tools/perf/util/
Dsession.c1399 struct perf_record_read *read_event = &event->read; in dump_read() local
1414 printf("... time enabled : %" PRI_lu64 "\n", read_event->time_enabled); in dump_read()
1417 printf("... time running : %" PRI_lu64 "\n", read_event->time_running); in dump_read()
1420 printf("... id : %" PRI_lu64 "\n", read_event->id); in dump_read()
1423 printf("... lost : %" PRI_lu64 "\n", read_event->lost); in dump_read()
/linux-6.6.21/kernel/events/
Dcore.c7910 struct perf_read_event read_event = { in perf_event_read_event() local
7914 .size = sizeof(read_event) + event->read_size, in perf_event_read_event()
7921 perf_event_header__init_id(&read_event.header, &sample, event); in perf_event_read_event()
7922 ret = perf_output_begin(&handle, &sample, event, read_event.header.size); in perf_event_read_event()
7926 perf_output_put(&handle, read_event); in perf_event_read_event()