Home
last modified time | relevance | path

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

/linux-5.19.10/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 …]
Dtimerlat_top.c318 struct trace_events *tevent; in timerlat_top_parse_args() local
394 tevent = trace_event_alloc(optarg); in timerlat_top_parse_args()
395 if (!tevent) { in timerlat_top_parse_args()
401 tevent->next = params->events; in timerlat_top_parse_args()
402 params->events = tevent; in timerlat_top_parse_args()
Dosnoise_top.c294 struct trace_events *tevent; in osnoise_top_parse_args() local
360 tevent = trace_event_alloc(optarg); in osnoise_top_parse_args()
361 if (!tevent) { in osnoise_top_parse_args()
367 tevent->next = params->events; in osnoise_top_parse_args()
368 params->events = tevent; in osnoise_top_parse_args()
Dosnoise_hist.c482 struct trace_events *tevent; in osnoise_hist_parse_args() local
563 tevent = trace_event_alloc(optarg); in osnoise_hist_parse_args()
564 if (!tevent) { in osnoise_hist_parse_args()
570 tevent->next = params->events; in osnoise_hist_parse_args()
572 params->events = tevent; in osnoise_hist_parse_args()
Dtimerlat_hist.c488 struct trace_events *tevent; in timerlat_hist_parse_args() local
578 tevent = trace_event_alloc(optarg); in timerlat_hist_parse_args()
579 if (!tevent) { in timerlat_hist_parse_args()
585 tevent->next = params->events; in timerlat_hist_parse_args()
587 params->events = tevent; in timerlat_hist_parse_args()
/linux-5.19.10/tools/perf/util/
Dtrace-event.c25 static struct trace_event tevent; variable
45 if (trace_event__init(&tevent)) in trace_event__init2()
48 pevent = tevent.pevent; in trace_event__init2()
62 return tep_set_function_resolver(tevent.pevent, func, machine); in trace_event__register_resolver()
78 struct tep_handle *pevent = tevent.pevent; in tp_format()
118 return tep_find_event(tevent.pevent, id); in trace_event__tp_format_id()
Dtrace-event-read.c373 ssize_t trace_report(int fd, struct trace_event *tevent, bool __repipe) in trace_report() argument
419 if (trace_event__init(tevent)) { in trace_report()
424 pevent = tevent->pevent; in trace_report()
475 trace_event__cleanup(tevent); in trace_report()
Dtrace-event.h49 ssize_t trace_report(int fd, struct trace_event *tevent, bool repipe);
Dsession.h36 struct trace_event tevent; member
Dheader.c4216 perf_header__process_sections(header, fd, &session->tevent, in perf_session__read_header()
4219 if (evlist__prepare_tracepoint_events(session->evlist, session->tevent.pevent)) in perf_session__read_header()
4425 size_read = trace_report(fd, &session->tevent, in perf_event__process_tracing_data()
4446 evlist__prepare_tracepoint_events(session->evlist, session->tevent.pevent); in perf_event__process_tracing_data()
Dsession.c316 trace_event__cleanup(&session->tevent); in perf_session__delete()
/linux-5.19.10/tools/perf/
Dbuiltin-report.c1640 if (session->tevent.pevent && in cmd_report()
1641 tep_set_function_resolver(session->tevent.pevent, in cmd_report()
Dbuiltin-script.c4193 if (session->tevent.pevent && in cmd_script()
4194 tep_set_function_resolver(session->tevent.pevent, in cmd_script()
4238 err = scripting_ops->generate_script(session->tevent.pevent, in cmd_script()