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.c254 struct trace_events *tevent = events; in trace_events_free() local
257 while (tevent) { in trace_events_free()
258 free_event = tevent; in trace_events_free()
260 tevent = tevent->next; in trace_events_free()
276 struct trace_events *tevent; in trace_event_alloc() local
278 tevent = calloc(1, sizeof(*tevent)); in trace_event_alloc()
279 if (!tevent) in trace_event_alloc()
282 tevent->system = strdup(event_string); in trace_event_alloc()
283 if (!tevent->system) { in trace_event_alloc()
284 free(tevent); in trace_event_alloc()
[all …]
H A Dosnoise_top.c333 struct trace_events *tevent; in osnoise_top_parse_args() local
428 tevent = trace_event_alloc(optarg); in osnoise_top_parse_args()
429 if (!tevent) { in osnoise_top_parse_args()
435 tevent->next = params->common.events; in osnoise_top_parse_args()
436 params->common.events = tevent; in osnoise_top_parse_args()
H A Dosnoise_hist.c492 struct trace_events *tevent; in osnoise_hist_parse_args() local
594 tevent = trace_event_alloc(optarg); in osnoise_hist_parse_args()
595 if (!tevent) { in osnoise_hist_parse_args()
601 tevent->next = params->common.events; in osnoise_hist_parse_args()
603 params->common.events = tevent; in osnoise_hist_parse_args()
H A Dtimerlat_top.c549 struct trace_events *tevent; in timerlat_top_parse_args() local
673 tevent = trace_event_alloc(optarg); in timerlat_top_parse_args()
674 if (!tevent) { in timerlat_top_parse_args()
680 tevent->next = params->common.events; in timerlat_top_parse_args()
681 params->common.events = tevent; in timerlat_top_parse_args()
H A Dtimerlat_hist.c791 struct trace_events *tevent; in timerlat_hist_parse_args() local
915 tevent = trace_event_alloc(optarg); in timerlat_hist_parse_args()
916 if (!tevent) { in timerlat_hist_parse_args()
922 tevent->next = params->common.events; in timerlat_hist_parse_args()
924 params->common.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.c4341 perf_header__process_sections(header, fd, &session->tevent, in perf_session__read_header()
4344 if (evlist__prepare_tracepoint_events(session->evlist, session->tevent.pevent)) in perf_session__read_header()
4566 size_read = trace_report(fd, &session->tevent, session->trace_event_repipe); in perf_event__process_tracing_data()
4586 evlist__prepare_tracepoint_events(session->evlist, session->tevent.pevent); in perf_event__process_tracing_data()
H A Dsession.c263 trace_event__cleanup(&session->tevent); in perf_session__delete()
/linux/tools/perf/
H A Dbuiltin-report.c1866 if (session->tevent.pevent && in cmd_report()
1867 tep_set_function_resolver(session->tevent.pevent, in cmd_report()
H A Dbuiltin-kwork.c1812 if (session->tevent.pevent && in perf_kwork__read_events()
1813 tep_set_function_resolver(session->tevent.pevent, in perf_kwork__read_events()
H A Dbuiltin-script.c4187 if (session->tevent.pevent && in cmd_script()
4188 tep_set_function_resolver(session->tevent.pevent, in cmd_script()
4232 err = scripting_ops->generate_script(session->tevent.pevent, in cmd_script()