Home
last modified time | relevance | path

Searched refs:tevent (Results 1 – 11 of 11) 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.c325 struct trace_events *tevent; in osnoise_top_parse_args() local
412 tevent = trace_event_alloc(optarg); in osnoise_top_parse_args()
413 if (!tevent) in osnoise_top_parse_args()
417 tevent->next = params->common.events; in osnoise_top_parse_args()
418 params->common.events = tevent; in osnoise_top_parse_args()
H A Dosnoise_hist.c472 struct trace_events *tevent; in osnoise_hist_parse_args() local
566 tevent = trace_event_alloc(optarg); in osnoise_hist_parse_args()
567 if (!tevent) in osnoise_hist_parse_args()
571 tevent->next = params->common.events; in osnoise_hist_parse_args()
573 params->common.events = tevent; in osnoise_hist_parse_args()
H A Dtimerlat_top.c541 struct trace_events *tevent; in timerlat_top_parse_args() local
657 tevent = trace_event_alloc(optarg); in timerlat_top_parse_args()
658 if (!tevent) in timerlat_top_parse_args()
662 tevent->next = params->common.events; in timerlat_top_parse_args()
663 params->common.events = tevent; in timerlat_top_parse_args()
H A Dtimerlat_hist.c769 struct trace_events *tevent; in timerlat_hist_parse_args() local
885 tevent = trace_event_alloc(optarg); in timerlat_hist_parse_args()
886 if (!tevent) in timerlat_hist_parse_args()
890 tevent->next = params->common.events; in timerlat_hist_parse_args()
892 params->common.events = tevent; in timerlat_hist_parse_args()
/linux/tools/perf/util/
H A Dsession.h58 struct trace_event tevent; member
H A Dheader.c4334 perf_header__process_sections(header, fd, &session->tevent, in perf_session__read_header()
4337 if (evlist__prepare_tracepoint_events(session->evlist, session->tevent.pevent)) in perf_session__read_header()
4560 size_read = trace_report(fd, &session->tevent, session->trace_event_repipe); in perf_event__process_tracing_data()
4580 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.c1868 if (session->tevent.pevent && in cmd_report()
1869 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.c4475 if (session->tevent.pevent && in cmd_script()
4476 tep_set_function_resolver(session->tevent.pevent, in cmd_script()
4520 err = scripting_ops->generate_script(session->tevent.pevent, in cmd_script()