Home
last modified time | relevance | path

Searched refs:tevent (Results 1 – 14 of 14) sorted by relevance

/tools/tracing/rtla/src/
Dtrace.c212 struct trace_events *tevent = events; in trace_events_free() local
215 while (tevent) { in trace_events_free()
216 free_event = tevent; in trace_events_free()
218 tevent = tevent->next; in trace_events_free()
234 struct trace_events *tevent; in trace_event_alloc() local
236 tevent = calloc(1, sizeof(*tevent)); in trace_event_alloc()
237 if (!tevent) in trace_event_alloc()
240 tevent->system = strdup(event_string); in trace_event_alloc()
241 if (!tevent->system) { in trace_event_alloc()
242 free(tevent); in trace_event_alloc()
[all …]
Dosnoise_top.c359 struct trace_events *tevent; in osnoise_top_parse_args() local
448 tevent = trace_event_alloc(optarg); in osnoise_top_parse_args()
449 if (!tevent) { in osnoise_top_parse_args()
455 tevent->next = params->events; in osnoise_top_parse_args()
456 params->events = tevent; in osnoise_top_parse_args()
Dosnoise_hist.c514 struct trace_events *tevent; in osnoise_hist_parse_args() local
609 tevent = trace_event_alloc(optarg); in osnoise_hist_parse_args()
610 if (!tevent) { in osnoise_hist_parse_args()
616 tevent->next = params->events; in osnoise_hist_parse_args()
618 params->events = tevent; in osnoise_hist_parse_args()
Dtimerlat_top.c509 struct trace_events *tevent; in timerlat_top_parse_args() local
619 tevent = trace_event_alloc(optarg); in timerlat_top_parse_args()
620 if (!tevent) { in timerlat_top_parse_args()
626 tevent->next = params->events; in timerlat_top_parse_args()
627 params->events = tevent; in timerlat_top_parse_args()
Dtimerlat_hist.c738 struct trace_events *tevent; in timerlat_hist_parse_args() local
848 tevent = trace_event_alloc(optarg); in timerlat_hist_parse_args()
849 if (!tevent) { in timerlat_hist_parse_args()
855 tevent->next = params->events; in timerlat_hist_parse_args()
857 params->events = tevent; in timerlat_hist_parse_args()
/tools/perf/util/
Dtrace-event.c24 static struct trace_event tevent; variable
44 if (trace_event__init(&tevent)) in trace_event__init2()
47 pevent = tevent.pevent; in trace_event__init2()
61 return tep_set_function_resolver(tevent.pevent, func, machine); in trace_event__register_resolver()
77 struct tep_handle *pevent = tevent.pevent; in tp_format()
117 return tep_find_event(tevent.pevent, id); in trace_event__tp_format_id()
Dtrace-event-read.c375 ssize_t trace_report(int fd, struct trace_event *tevent, bool __repipe) in trace_report() argument
421 if (trace_event__init(tevent)) { in trace_report()
426 pevent = tevent->pevent; in trace_report()
477 trace_event__cleanup(tevent); in trace_report()
Dtrace-event.h61 ssize_t trace_report(int fd, struct trace_event *tevent, bool repipe);
Dsession.h58 struct trace_event tevent; member
Dheader.c4349 perf_header__process_sections(header, fd, &session->tevent, in perf_session__read_header()
4352 if (evlist__prepare_tracepoint_events(session->evlist, session->tevent.pevent)) in perf_session__read_header()
4559 size_read = trace_report(fd, &session->tevent, session->trace_event_repipe); in perf_event__process_tracing_data()
4579 evlist__prepare_tracepoint_events(session->evlist, session->tevent.pevent); in perf_event__process_tracing_data()
Dsession.c257 trace_event__cleanup(&session->tevent); in perf_session__delete()
/tools/perf/
Dbuiltin-report.c1812 if (session->tevent.pevent && in cmd_report()
1813 tep_set_function_resolver(session->tevent.pevent, in cmd_report()
Dbuiltin-kwork.c1810 if (session->tevent.pevent && in perf_kwork__read_events()
1811 tep_set_function_resolver(session->tevent.pevent, in perf_kwork__read_events()
Dbuiltin-script.c4403 if (session->tevent.pevent && in cmd_script()
4404 tep_set_function_resolver(session->tevent.pevent, in cmd_script()
4448 err = scripting_ops->generate_script(session->tevent.pevent, in cmd_script()