Home
last modified time | relevance | path

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

/linux/tools/tracing/rtla/src/
H A Dtrace.c204 struct trace_events *tevent = events; in trace_events_free() local
207 while (tevent) { in trace_events_free()
208 free_event = tevent; in trace_events_free()
210 tevent = tevent->next; in trace_events_free()
226 struct trace_events *tevent; in trace_event_alloc() local
228 tevent = calloc(1, sizeof(*tevent)); in trace_event_alloc()
229 if (!tevent) in trace_event_alloc()
232 tevent->system = strdup(event_string); in trace_event_alloc()
233 if (!tevent->system) { in trace_event_alloc()
234 free(tevent); in trace_event_alloc()
[all …]
H A 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()
H A 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()
H A Dtimerlat_top.c511 struct trace_events *tevent; in timerlat_top_parse_args() local
625 tevent = trace_event_alloc(optarg); in timerlat_top_parse_args()
626 if (!tevent) { in timerlat_top_parse_args()
632 tevent->next = params->events; in timerlat_top_parse_args()
633 params->events = tevent; in timerlat_top_parse_args()
H A Dtimerlat_hist.c725 struct trace_events *tevent; in timerlat_hist_parse_args() local
839 tevent = trace_event_alloc(optarg); in timerlat_hist_parse_args()
840 if (!tevent) { in timerlat_hist_parse_args()
846 tevent->next = params->events; in timerlat_hist_parse_args()
848 params->events = tevent; in timerlat_hist_parse_args()
/linux/tools/perf/util/
H A 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()
H A 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()
H A Dtrace-event.h58 ssize_t trace_report(int fd, struct trace_event *tevent, bool repipe);
H A Dsession.h58 struct trace_event tevent; member
H A Dheader.c4315 perf_header__process_sections(header, fd, &session->tevent, in perf_session__read_header()
4318 if (evlist__prepare_tracepoint_events(session->evlist, session->tevent.pevent)) in perf_session__read_header()
4525 size_read = trace_report(fd, &session->tevent, session->trace_event_repipe); in perf_event__process_event_update()
4545 evlist__prepare_tracepoint_events(session->evlist, session->tevent.pevent); in perf_event__process_tracing_data()
H A Dsession.c257 trace_event__cleanup(&session->tevent); in perf_session__delete()
/linux/tools/perf/
H A Dbuiltin-report.c1816 if (session->tevent.pevent && in cmd_report()
1817 tep_set_function_resolver(session->tevent.pevent, in cmd_report()
H A 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()
H A Dbuiltin-script.c4404 if (session->tevent.pevent && in cmd_script()
4405 tep_set_function_resolver(session->tevent.pevent, in cmd_script()
4449 err = scripting_ops->generate_script(session->tevent.pevent, in cmd_script()