Home
last modified time | relevance | path

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

/Linux-v6.6/tools/tracing/rtla/src/
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 …]
Dosnoise_top.c343 struct trace_events *tevent; in osnoise_top_parse_args() local
430 tevent = trace_event_alloc(optarg); in osnoise_top_parse_args()
431 if (!tevent) { in osnoise_top_parse_args()
437 tevent->next = params->events; in osnoise_top_parse_args()
438 params->events = tevent; in osnoise_top_parse_args()
Dtimerlat_top.c388 struct trace_events *tevent; in timerlat_top_parse_args() local
494 tevent = trace_event_alloc(optarg); in timerlat_top_parse_args()
495 if (!tevent) { in timerlat_top_parse_args()
501 tevent->next = params->events; in timerlat_top_parse_args()
502 params->events = tevent; in timerlat_top_parse_args()
Dosnoise_hist.c493 struct trace_events *tevent; in osnoise_hist_parse_args() local
586 tevent = trace_event_alloc(optarg); in osnoise_hist_parse_args()
587 if (!tevent) { in osnoise_hist_parse_args()
593 tevent->next = params->events; in osnoise_hist_parse_args()
595 params->events = tevent; in osnoise_hist_parse_args()
Dtimerlat_hist.c559 struct trace_events *tevent; in timerlat_hist_parse_args() local
665 tevent = trace_event_alloc(optarg); in timerlat_hist_parse_args()
666 if (!tevent) { in timerlat_hist_parse_args()
672 tevent->next = params->events; in timerlat_hist_parse_args()
674 params->events = tevent; in timerlat_hist_parse_args()
/Linux-v6.6/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.h58 ssize_t trace_report(int fd, struct trace_event *tevent, bool repipe);
Dsession.h37 struct trace_event tevent; member
Dheader.c4277 perf_header__process_sections(header, fd, &session->tevent, in perf_session__read_header()
4280 if (evlist__prepare_tracepoint_events(session->evlist, session->tevent.pevent)) in perf_session__read_header()
4486 size_read = trace_report(fd, &session->tevent, in perf_event__process_tracing_data()
4507 evlist__prepare_tracepoint_events(session->evlist, session->tevent.pevent); in perf_event__process_tracing_data()
Dsession.c312 trace_event__cleanup(&session->tevent); in perf_session__delete()
/Linux-v6.6/tools/perf/
Dbuiltin-report.c1700 if (session->tevent.pevent && in cmd_report()
1701 tep_set_function_resolver(session->tevent.pevent, in cmd_report()
Dbuiltin-kwork.c1413 if (session->tevent.pevent && in perf_kwork__read_events()
1414 tep_set_function_resolver(session->tevent.pevent, in perf_kwork__read_events()
Dbuiltin-script.c4274 if (session->tevent.pevent && in cmd_script()
4275 tep_set_function_resolver(session->tevent.pevent, in cmd_script()
4319 err = scripting_ops->generate_script(session->tevent.pevent, in cmd_script()