H A D | builtin-trace.c | 2 * builtin-trace.c 4 * Builtin 'trace' command: 6 * Display a continuously updated trace of any workload, CPU, specific PID, 12 * Initially based on the 'trace' prototype by Thomas Gleixner: 14 * http://lwn.net/Articles/415728/ ("Announcing a new utility: 'trace'") 57 #include "trace/beauty/beauty.h" 58 #include "trace-event.h" 129 struct trace { struct 294 * The evsel->priv as used by 'perf trace' 730 #include "trace/beaut 1450 thread__fd_path(struct thread *thread, int fd, struct trace *trace) argument 1484 pid__scnprintf_fd(struct trace *trace, pid_t pid, int fd, char *bf, size_t size) argument 1554 trace__filter_duration(struct trace *trace, double t) argument 1559 __trace__fprintf_tstamp(struct trace *trace, u64 tstamp, FILE *fp) argument 1572 trace__fprintf_tstamp(struct trace *trace, u64 tstamp, FILE *fp) argument 1596 trace__fprintf_comm_tid(struct trace *trace, struct thread *thread, FILE *fp) argument 1609 trace__fprintf_entry_head(struct trace *trace, struct thread *thread, u64 duration, bool duration_calculated, u64 tstamp, FILE *fp) argument 1621 trace__process_event(struct trace *trace, struct machine *machine, union perf_event *event, struct perf_sample *sample) argument 1645 struct trace *trace = container_of(tool, struct trace, tool); local 1667 trace__symbols_init(struct trace *trace, struct evlist *evlist) argument 1694 trace__symbols__exit(struct trace *trace) argument 1809 trace__read_syscall_info(struct trace *trace, int id) argument 1908 trace__validate_ev_qualifier(struct trace *trace) argument 1982 trace__syscall_enabled(struct trace *trace, int id) argument 2049 syscall__scnprintf_args(struct syscall *sc, char *bf, size_t size, unsigned char *args, void *augmented_args, int augmented_args_size, struct trace *trace, struct thread *thread) argument 2142 trace__syscall_info(struct trace *trace, struct evsel *evsel, int id) argument 2264 trace__printf_interrupted_entry(struct trace *trace) argument 2292 trace__fprintf_sample(struct trace *trace, struct evsel *evsel, struct perf_sample *sample, struct thread *thread) argument 2343 trace__sys_enter(struct trace *trace, struct evsel *evsel, union perf_event *event __maybe_unused, struct perf_sample *sample) argument 2422 trace__fprintf_sys_enter(struct trace *trace, struct evsel *evsel, struct perf_sample *sample) argument 2455 trace__resolve_callchain(struct trace *trace, struct evsel *evsel, struct perf_sample *sample, struct callchain_cursor *cursor) argument 2475 trace__fprintf_callchain(struct trace *trace, struct perf_sample *sample) argument 2492 trace__sys_exit(struct trace *trace, struct evsel *evsel, union perf_event *event __maybe_unused, struct perf_sample *sample) argument 2628 trace__vfs_getname(struct trace *trace, struct evsel *evsel, union perf_event *event __maybe_unused, struct perf_sample *sample) argument 2689 trace__sched_stat_runtime(struct trace *trace, struct evsel *evsel, union perf_event *event __maybe_unused, struct perf_sample *sample) argument 2743 bpf_output__fprintf(struct trace *trace, struct perf_sample *sample) argument 2751 trace__fprintf_tp_fields(struct trace *trace, struct evsel *evsel, struct perf_sample *sample, struct thread *thread, void *augmented_args, int augmented_args_size) argument 2823 trace__event_handler(struct trace *trace, struct evsel *evsel, union perf_event *event __maybe_unused, struct perf_sample *sample) argument 2931 trace__pgfault(struct trace *trace, struct evsel *evsel, union perf_event *event __maybe_unused, struct perf_sample *sample) argument 3010 trace__set_base_time(struct trace *trace, struct evsel *evsel, struct perf_sample *sample) argument 3033 struct trace *trace = container_of(tool, struct trace, tool); local 3054 trace__record(struct trace *trace, int argc, const char **argv) argument 3185 trace__handle_event(struct trace *trace, union perf_event *event, struct perf_sample *sample) argument 3220 trace__add_syscall_newtp(struct trace *trace) argument 3269 trace__set_ev_qualifier_tp_filter(struct trace *trace) argument 3294 trace__find_bpf_program_by_title(struct trace *trace, const char *name) argument 3313 trace__find_syscall_bpf_prog(struct trace *trace, struct syscall *sc, const char *prog_name, const char *type) argument 3346 trace__init_syscall_bpf_progs(struct trace *trace, int id) argument 3357 trace__bpf_prog_sys_enter_fd(struct trace *trace, int id) argument 3363 trace__bpf_prog_sys_exit_fd(struct trace *trace, int id) argument 3369 trace__find_usable_bpf_prog_entry(struct trace *trace, struct syscall *sc) argument 3470 trace__init_syscalls_bpf_prog_array_maps(struct trace *trace) argument 3562 trace__set_ev_qualifier_filter(struct trace *trace) argument 3587 trace__set_filter_loop_pids(struct trace *trace) argument 3618 trace__set_filter_pids(struct trace *trace) argument 3641 __trace__deliver_event(struct trace *trace, union perf_event *event) argument 3655 __trace__flush_events(struct trace *trace) argument 3667 trace__flush_events(struct trace *trace) argument 3672 trace__deliver_event(struct trace *trace, union perf_event *event) argument 3693 struct trace *trace = container_of(oe, struct trace, oe.data); local 3811 trace__expand_filters(struct trace *trace, struct evsel **err_evsel) argument 3829 trace__run(struct trace *trace, int argc, const char **argv) argument 4125 trace__replay(struct trace *trace) argument 4245 thread__dump_stats(struct thread_trace *ttrace, struct trace *trace, FILE *fp) argument 4297 trace__fprintf_thread(FILE *fp, struct thread *thread, struct trace *trace) argument 4348 trace__fprintf_thread_summary(struct trace *trace, FILE *fp) argument 4368 struct trace *trace = opt->value; local 4379 struct trace *trace = opt->value; local 4406 trace__open_output(struct trace *trace, const char *filename) argument 4516 struct trace *trace = (struct trace *)opt->value; local 4608 struct trace *trace = opt->value; local 4623 struct trace *trace = arg; local 4665 trace__exit(struct trace *trace) argument 4701 struct trace trace = { local [all...] |