Home
last modified time | relevance | path

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

12

/Linux-v5.4/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);
78 bool ordered_events; member
Dtop.h49 struct ordered_events *in;
50 struct ordered_events data[2];
Dsession.c177 static int ordered_events__deliver_event(struct ordered_events *oe, in ordered_events__deliver_event()
181 ordered_events); in ordered_events__deliver_event()
200 ordered_events__init(&session->ordered_events, in perf_session__new()
255 tool->ordered_events && !perf_evlist__sample_id_all(session->evlist)) { in perf_session__new()
257 tool->ordered_events = false; in perf_session__new()
355 struct ordered_events *oe __maybe_unused) in process_finished_round_stub()
363 struct ordered_events *oe);
503 if (tool->ordered_events) in perf_tool__fill_defaults()
988 struct ordered_events *oe) in process_finished_round()
998 return ordered_events__queue(&s->ordered_events, event, timestamp, file_offset); in perf_session__queue_event()
[all …]
Dsession.h36 struct ordered_events ordered_events; member
Dintel-bts.c604 if (!tool->ordered_events) { in intel_bts_process_event()
687 if (!tool->ordered_events) in intel_bts_flush()
Ddata-convert-bt.c1597 .ordered_events = true, in bt_convert__perf2ctf()
1629 ordered_events__set_alloc_size(&session->ordered_events, in bt_convert__perf2ctf()
Dbuild-id.c91 .ordered_events = true,
Ds390-cpumsf.c927 if (!tool->ordered_events) { in s390_cpumsf_process_event()
Dcs-etm.c514 if (!tool->ordered_events) in cs_etm__flush_events()
2262 if (!tool->ordered_events) { in cs_etm__process_event()
Dintel-pt.c2536 if (!tool->ordered_events) { in intel_pt_process_event()
2596 if (!tool->ordered_events) in intel_pt_flush()
/Linux-v5.4/tools/perf/
Dbuiltin-inject.c79 struct ordered_events *oe __maybe_unused) in perf_event__repipe_oe_synth()
87 struct ordered_events *oe __maybe_unused) in perf_event__drop_oe()
682 inject->tool.ordered_events = true; in __cmd_inject()
835 inject.tool.ordered_events = inject.sched_stat; in cmd_inject()
852 inject.tool.ordered_events = true; in cmd_inject()
859 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()
1392 kvm->tool.ordered_events = true; in kvm_events_live()
1458 ordered_events__set_copy_on_queue(&kvm->session->ordered_events, true); in kvm_events_live()
Dbuiltin-top.c1071 static struct ordered_events *rotate_queues(struct perf_top *top) in rotate_queues()
1073 struct ordered_events *in = top->qe.in; in rotate_queues()
1088 struct ordered_events *out, *in = top->qe.in; in process_thread()
1124 static int deliver_event(struct ordered_events *qe, in deliver_event()
Dbuiltin-report.c681 rep->tool.ordered_events = true; in tasks_setup()
1056 .ordered_events = true, in cmd_report()
1283 ordered_events__set_alloc_size(&session->ordered_events, in cmd_report()
Dbuiltin-mem.c401 .ordered_events = true, in cmd_mem()
Dbuiltin-annotate.c488 .ordered_events = true, in cmd_annotate()
Dbuiltin-record.c1431 if (rec->tool.ordered_events && !perf_evlist__sample_id_all(rec->evlist)) { in __cmd_record()
1433 rec->tool.ordered_events = false; in __cmd_record()
2092 .ordered_events = true,
Dbuiltin-lock.c867 .ordered_events = true, in __cmd_report()
Dbuiltin-script.c2361 struct ordered_events *oe __maybe_unused) in process_finished_round_event()
2502 script->tool.ordered_events = false; in __cmd_script()
3440 .ordered_events = true, in cmd_script()
Dbuiltin-trace.c166 struct ordered_events data;
3258 static int ordered_events__deliver_event(struct ordered_events *oe, in ordered_events__deliver_event()
3584 trace->tool.ordered_events = true; in trace__replay()
Dbuiltin-sched.c2988 sched->tool.ordered_events = true; in perf_sched__timehist()
3355 .ordered_events = true, in cmd_sched()
Dbuiltin-diff.c451 .ordered_events = true,
Dbuiltin-kmem.c978 .ordered_events = true,

12