Home
last modified time | relevance | path

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

/linux/tools/perf/util/
H A Dordered-events.h26 struct ordered_events;
28 typedef int (*ordered_events__deliver_t)(struct ordered_events *oe,
36 struct ordered_events { struct
56 int ordered_events__queue(struct ordered_events *oe, union perf_event *event, argument
58 void ordered_events__delete(struct ordered_events *oe, struct ordered_event *event);
59 int ordered_events__flush(struct ordered_events *oe, enum oe_flush how);
60 int ordered_events__flush_time(struct ordered_events *oe, u64 timestamp);
61 void ordered_events__init(struct ordered_events *oe, ordered_events__deliver_t deliver,
63 void ordered_events__free(struct ordered_events *oe);
64 void ordered_events__reinit(struct ordered_events *oe);
[all …]
H A 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()
224 static int do_flush(struct ordered_events *oe, bool show_progress) in do_flush()
[all …]
H A Dtool.h16 struct ordered_events;
35 struct ordered_events *oe);
83 bool ordered_events; member
92 void perf_tool__init(struct perf_tool *tool, bool ordered_events);
H A Dtool.c123 struct ordered_events *oe __maybe_unused) in process_finished_round_stub()
233 void perf_tool__init(struct perf_tool *tool, bool ordered_events) in perf_tool__init() argument
235 tool->ordered_events = ordered_events; in perf_tool__init()
267 if (ordered_events) in perf_tool__init()
H A Dtop.h53 struct ordered_events *in;
54 struct ordered_events data[2];
H A Dsession.h75 struct ordered_events ordered_events; member
208 struct ordered_events *oe);
H A Dsession.c126 static int ordered_events__deliver_event(struct ordered_events *oe, in ordered_events__deliver_event()
130 ordered_events); in ordered_events__deliver_event()
153 ordered_events__init(&session->ordered_events, in __perf_session__new()
212 tool->ordered_events && !evlist__sample_id_all(session->evlist)) { in __perf_session__new()
214 tool->ordered_events = false; in __perf_session__new()
776 struct ordered_events *oe) in perf_event__process_finished_round()
786 return ordered_events__queue(&s->ordered_events, event, timestamp, file_offset, file_path); in perf_session__queue_event()
1380 struct ordered_events *oe = &session->ordered_events; in perf_session__process_user_event()
1613 if (tool->ordered_events) { in perf_session__process_event()
[all...]
H A Dintel-bts.c604 if (!tool->ordered_events) { in intel_bts_process_event()
687 if (!tool->ordered_events) in intel_bts_flush()
H A Darm-spe.c998 if (!tool->ordered_events) { in arm_spe_flush()
1083 if (!tool->ordered_events) in arm_spe_set_event_name()
H A Ds390-cpumsf.c928 if (!tool->ordered_events) { in s390_cpumsf_process_event()
H A Dcs-etm.c906 if (!tool->ordered_events) in cs_etm__flush_events()
2814 if (!tool->ordered_events) { in cs_etm__process_event()
H A Ddata-convert-bt.c1614 perf_tool__init(&c.tool, /*ordered_events=*/true); in bt_convert__perf2ctf()
1650 ordered_events__set_alloc_size(&session->ordered_events, in bt_convert__perf2ctf()
H A Dintel-pt.c3462 if (!tool->ordered_events) { in intel_pt_process_event()
3545 if (!tool->ordered_events) in intel_pt_flush()
/linux/tools/perf/
H A Dbuiltin-inject.c186 struct ordered_events *oe __maybe_unused) in perf_event__repipe_oe_synth()
194 struct ordered_events *oe __maybe_unused) in perf_event__drop_oe()
1438 gs->tool.ordered_events = true; in guest_session__start()
1837 struct ordered_events *oe) in host__finished_round()
2216 inject->tool.ordered_events = true; in __cmd_inject()
2230 inject->tool.ordered_events = true; in __cmd_inject()
2266 inject->tool.ordered_events = true; in __cmd_inject()
2427 bool ordered_events; in cmd_inject() local
2491 ordered_events = inject.jit_mode || inject.sched_stat || in cmd_inject()
2494 perf_tool__init(&inject.tool, ordered_events); in cmd_inject()
H A Dbuiltin-top.c1089 static struct ordered_events *rotate_queues(struct perf_top *top) in rotate_queues()
1091 struct ordered_events *in = top->qe.in; in rotate_queues()
1106 struct ordered_events *out, *in = top->qe.in; in process_thread()
1142 static int deliver_event(struct ordered_events *qe, in deliver_event()
H A Dbuiltin-report.c815 perf_tool__init(&rep->tool, /*ordered_events=*/false); in stats_setup()
834 perf_tool__init(&rep->tool, /*ordered_events=*/true); in tasks_setup()
1478 bool ordered_events = true; in cmd_report()
1533 ordered_events = false; in cmd_report()
1564 perf_tool__init(&report.tool, ordered_events); in cmd_report()
1601 ordered_events__set_alloc_size(&session->ordered_events, in cmd_report()
1474 bool ordered_events = true; cmd_report() local
H A Dbuiltin-kvm.c1347 struct ordered_events *oe = &kvm->session->ordered_events; in perf_kvm__mmap_read()
1614 perf_tool__init(&kvm->tool, /*ordered_events=*/true); in read_events()
1922 perf_tool__init(&kvm->tool, /*ordered_events=*/true); in kvm_events_live()
1993 ordered_events__set_copy_on_queue(&kvm->session->ordered_events, true); in kvm_events_live()
H A Dbuiltin-trace.c219 struct ordered_events data;
4069 static int ordered_events__deliver_event(struct ordered_events *oe,
4538 trace->tool.ordered_events = true;
H A Dbuiltin-record.c2394 perf_tool__init(tool, /*ordered_events=*/true); in __cmd_record()
2509 if (rec->tool.ordered_events && !evlist__sample_id_all(rec->evlist)) { in __cmd_record()
2511 rec->tool.ordered_events = false; in __cmd_record()
H A Dbuiltin-script.c2796 struct ordered_events *oe __maybe_unused) in process_finished_round_event()
2934 script->tool.ordered_events = false; in __cmd_script()
H A Dbuiltin-kwork.c1981 kwork->tool.ordered_events = true; in perf_kwork__timehist()
2459 perf_tool__init(&kwork.tool, /*ordered_events=*/true); in cmd_kwork()
/linux/tools/perf/Documentation/
H A Dperf-config.txt688 Limit the size of ordered_events queue, so we could control