Home
last modified time | relevance | path

Searched refs:oe (Results 1 – 6 of 6) sorted by relevance

/tools/perf/util/
Dordered-events.c14 static void queue_event(struct ordered_events *oe, struct ordered_event *new) in queue_event() argument
16 struct ordered_event *last = oe->last; in queue_event()
20 ++oe->nr_events; in queue_event()
21 oe->last = new; in queue_event()
23 pr_oe_time2(timestamp, "queue_event nr_events %u\n", oe->nr_events); in queue_event()
26 list_add(&new->list, &oe->events); in queue_event()
27 oe->max_timestamp = timestamp; in queue_event()
39 if (p == &oe->events) { in queue_event()
40 list_add_tail(&new->list, &oe->events); in queue_event()
41 oe->max_timestamp = timestamp; in queue_event()
[all …]
Dordered-events.h24 typedef int (*ordered_events__deliver_t)(struct ordered_events *oe,
46 int ordered_events__queue(struct ordered_events *oe, union perf_event *event,
48 void ordered_events__delete(struct ordered_events *oe, struct ordered_event *event);
49 int ordered_events__flush(struct ordered_events *oe, enum oe_flush how);
50 void ordered_events__init(struct ordered_events *oe, ordered_events__deliver_t deliver);
51 void ordered_events__free(struct ordered_events *oe);
52 void ordered_events__reinit(struct ordered_events *oe);
55 void ordered_events__set_alloc_size(struct ordered_events *oe, u64 size) in ordered_events__set_alloc_size() argument
57 oe->max_alloc_size = size; in ordered_events__set_alloc_size()
61 void ordered_events__set_copy_on_queue(struct ordered_events *oe, bool copy) in ordered_events__set_copy_on_queue() argument
[all …]
Dtool.h32 struct ordered_events *oe);
Dsession.c101 static int ordered_events__deliver_event(struct ordered_events *oe, in ordered_events__deliver_event() argument
105 struct perf_session *session = container_of(oe, struct perf_session, in ordered_events__deliver_event()
257 struct ordered_events *oe __maybe_unused) in process_finished_round_stub()
265 struct ordered_events *oe);
858 struct ordered_events *oe) in process_finished_round() argument
862 return ordered_events__flush(oe, OE_FLUSH__ROUND); in process_finished_round()
1308 struct ordered_events *oe = &session->ordered_events; in perf_session__process_user_event() local
1339 return tool->finished_round(tool, event, oe); in perf_session__process_user_event()
1515 const struct ordered_events *oe = &session->ordered_events; in perf_session__warn_order() local
1526 if (oe->nr_unordered_events != 0) in perf_session__warn_order()
[all …]
/tools/perf/
Dbuiltin-inject.c71 struct ordered_events *oe __maybe_unused) in perf_event__repipe_oe_synth()
79 struct ordered_events *oe __maybe_unused) in perf_event__drop_oe()
Dbuiltin-kvm.c789 struct ordered_events *oe = &kvm->session->ordered_events; in perf_kvm__mmap_read() local
791 oe->next_flush = flush_time; in perf_kvm__mmap_read()
792 err = ordered_events__flush(oe, OE_FLUSH__ROUND); in perf_kvm__mmap_read()