Home
last modified time | relevance | path

Searched refs:ordered_events (Results 1 – 25 of 30) sorted by relevance

12

/tools/perf/util/
Dordered-events.h25 struct ordered_events;
27 typedef int (*ordered_events__deliver_t)(struct ordered_events *oe,
35 struct ordered_events { struct
55 int ordered_events__queue(struct ordered_events *oe, union perf_event *event, argument
57 void ordered_events__delete(struct ordered_events *oe, struct ordered_event *event);
58 int ordered_events__flush(struct ordered_events *oe, enum oe_flush how);
59 int ordered_events__flush_time(struct ordered_events *oe, u64 timestamp);
60 void ordered_events__init(struct ordered_events *oe, ordered_events__deliver_t deliver,
62 void ordered_events__free(struct ordered_events *oe);
63 void ordered_events__reinit(struct ordered_events *oe);
[all …]
Dordered-events.c18 static void queue_event(struct ordered_events *oe, struct ordered_event *new) in queue_event()
64 static union perf_event *__dup_event(struct ordered_events *oe, in __dup_event()
78 static union perf_event *dup_event(struct ordered_events *oe, in dup_event()
84 static void __free_dup_event(struct ordered_events *oe, union perf_event *event) in __free_dup_event()
92 static void free_dup_event(struct ordered_events *oe, union perf_event *event) in free_dup_event()
99 static struct ordered_event *alloc_event(struct ordered_events *oe, in alloc_event()
172 ordered_events__new_event(struct ordered_events *oe, u64 timestamp, in ordered_events__new_event()
186 void ordered_events__delete(struct ordered_events *oe, struct ordered_event *event) in ordered_events__delete()
194 int ordered_events__queue(struct ordered_events *oe, union perf_event *event, in ordered_events__queue()
223 static int do_flush(struct ordered_events *oe, bool show_progress) in do_flush()
[all …]
Dtool.h16 struct ordered_events;
34 struct ordered_events *oe);
80 bool ordered_events; member
Dtop.h50 struct ordered_events *in;
51 struct ordered_events data[2];
Dsession.h36 struct ordered_events ordered_events; member
Dsession.c178 static int ordered_events__deliver_event(struct ordered_events *oe, in ordered_events__deliver_event()
182 ordered_events); in ordered_events__deliver_event()
202 ordered_events__init(&session->ordered_events, in __perf_session__new()
261 tool->ordered_events && !evlist__sample_id_all(session->evlist)) { in __perf_session__new()
263 tool->ordered_events = false; in __perf_session__new()
365 struct ordered_events *oe __maybe_unused) in process_finished_round_stub()
373 struct ordered_events *oe);
527 if (tool->ordered_events) in perf_tool__fill_defaults()
1062 struct ordered_events *oe) in process_finished_round()
1072 return ordered_events__queue(&s->ordered_events, event, timestamp, file_offset); in perf_session__queue_event()
[all …]
Ddata-convert-json.c299 .ordered_events = true, in bt_convert__perf2json()
Dintel-bts.c604 if (!tool->ordered_events) { in intel_bts_process_event()
687 if (!tool->ordered_events) in intel_bts_flush()
Darm-spe.c704 if (!tool->ordered_events) { in arm_spe_process_event()
782 if (!tool->ordered_events) in arm_spe_flush()
Ddata-convert-bt.c1616 .ordered_events = true, in bt_convert__perf2ctf()
1646 ordered_events__set_alloc_size(&session->ordered_events, in bt_convert__perf2ctf()
Dbuild-id.c97 .ordered_events = true,
Ds390-cpumsf.c927 if (!tool->ordered_events) { in s390_cpumsf_process_event()
Dcs-etm.c568 if (!tool->ordered_events) in cs_etm__flush_events()
2390 if (!tool->ordered_events) { in cs_etm__process_event()
/tools/perf/
Dbuiltin-inject.c91 struct ordered_events *oe __maybe_unused) in perf_event__repipe_oe_synth()
99 struct ordered_events *oe __maybe_unused) in perf_event__drop_oe()
811 inject->tool.ordered_events = true; in __cmd_inject()
824 inject->tool.ordered_events = true; in __cmd_inject()
1046 inject.tool.ordered_events = true; in cmd_inject()
1051 inject.tool.ordered_events = true; in cmd_inject()
1058 inject.tool.ordered_events = true; in cmd_inject()
Dbuiltin-kvm.c828 struct ordered_events *oe = &kvm->session->ordered_events; in perf_kvm__mmap_read()
1087 .ordered_events = true, in read_events()
1391 kvm->tool.ordered_events = true; in kvm_events_live()
1457 ordered_events__set_copy_on_queue(&kvm->session->ordered_events, true); in kvm_events_live()
Dbuiltin-report.c773 rep->tool.ordered_events = true; in tasks_setup()
1186 .ordered_events = true, in cmd_report()
1393 report.tool.ordered_events = false; in cmd_report()
1445 ordered_events__set_alloc_size(&session->ordered_events, in cmd_report()
Dbuiltin-top.c1079 static struct ordered_events *rotate_queues(struct perf_top *top) in rotate_queues()
1081 struct ordered_events *in = top->qe.in; in rotate_queues()
1096 struct ordered_events *out, *in = top->qe.in; in process_thread()
1132 static int deliver_event(struct ordered_events *qe, in deliver_event()
Dbuiltin-mem.c451 .ordered_events = true, in cmd_mem()
Dbuiltin-annotate.c481 .ordered_events = true, in cmd_annotate()
Dbuiltin-record.c1746 if (rec->tool.ordered_events && !evlist__sample_id_all(rec->evlist)) { in __cmd_record()
1748 rec->tool.ordered_events = false; in __cmd_record()
2430 .ordered_events = true,
Dbuiltin-lock.c863 .ordered_events = true, in __cmd_report()
Dbuiltin-script.c2515 struct ordered_events *oe __maybe_unused) in process_finished_round_event()
2655 script->tool.ordered_events = false; in __cmd_script()
3673 .ordered_events = true, in cmd_script()
Dbuiltin-trace.c201 struct ordered_events data;
3782 static int ordered_events__deliver_event(struct ordered_events *oe,
4236 trace->tool.ordered_events = true;
Dbuiltin-sched.c3009 sched->tool.ordered_events = true; in perf_sched__timehist()
3422 .ordered_events = true, in cmd_sched()
Dbuiltin-kmem.c973 .ordered_events = true,

12