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 1436 thread__fd_path(struct thread *thread, int fd, struct trace *trace) argument 1470 pid__scnprintf_fd(struct trace *trace, pid_t pid, int fd, char *bf, size_t size) argument 1540 trace__filter_duration(struct trace *trace, double t) argument 1545 __trace__fprintf_tstamp(struct trace *trace, u64 tstamp, FILE *fp) argument 1558 trace__fprintf_tstamp(struct trace *trace, u64 tstamp, FILE *fp) argument 1582 trace__fprintf_comm_tid(struct trace *trace, struct thread *thread, FILE *fp) argument 1595 trace__fprintf_entry_head(struct trace *trace, struct thread *thread, u64 duration, bool duration_calculated, u64 tstamp, FILE *fp) argument 1607 trace__process_event(struct trace *trace, struct machine *machine, union perf_event *event, struct perf_sample *sample) argument 1631 struct trace *trace = container_of(tool, struct trace, tool); local 1653 trace__symbols_init(struct trace *trace, struct evlist *evlist) argument 1680 trace__symbols__exit(struct trace *trace) argument 1795 trace__read_syscall_info(struct trace *trace, int id) argument 1894 trace__validate_ev_qualifier(struct trace *trace) argument 1968 trace__syscall_enabled(struct trace *trace, int id) argument 2035 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 2128 trace__syscall_info(struct trace *trace, struct evsel *evsel, int id) argument 2250 trace__printf_interrupted_entry(struct trace *trace) argument 2278 trace__fprintf_sample(struct trace *trace, struct evsel *evsel, struct perf_sample *sample, struct thread *thread) argument 2329 trace__sys_enter(struct trace *trace, struct evsel *evsel, union perf_event *event __maybe_unused, struct perf_sample *sample) argument 2408 trace__fprintf_sys_enter(struct trace *trace, struct evsel *evsel, struct perf_sample *sample) argument 2441 trace__resolve_callchain(struct trace *trace, struct evsel *evsel, struct perf_sample *sample, struct callchain_cursor *cursor) argument 2461 trace__fprintf_callchain(struct trace *trace, struct perf_sample *sample) argument 2478 trace__sys_exit(struct trace *trace, struct evsel *evsel, union perf_event *event __maybe_unused, struct perf_sample *sample) argument 2614 trace__vfs_getname(struct trace *trace, struct evsel *evsel, union perf_event *event __maybe_unused, struct perf_sample *sample) argument 2675 trace__sched_stat_runtime(struct trace *trace, struct evsel *evsel, union perf_event *event __maybe_unused, struct perf_sample *sample) argument 2729 bpf_output__fprintf(struct trace *trace, struct perf_sample *sample) argument 2737 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 2809 trace__event_handler(struct trace *trace, struct evsel *evsel, union perf_event *event __maybe_unused, struct perf_sample *sample) argument 2917 trace__pgfault(struct trace *trace, struct evsel *evsel, union perf_event *event __maybe_unused, struct perf_sample *sample) argument 2996 trace__set_base_time(struct trace *trace, struct evsel *evsel, struct perf_sample *sample) argument 3019 struct trace *trace = container_of(tool, struct trace, tool); local 3040 trace__record(struct trace *trace, int argc, const char **argv) argument 3171 trace__handle_event(struct trace *trace, union perf_event *event, struct perf_sample *sample) argument 3206 trace__add_syscall_newtp(struct trace *trace) argument 3255 trace__set_ev_qualifier_tp_filter(struct trace *trace) argument 3280 trace__find_bpf_program_by_title(struct trace *trace, const char *name) argument 3299 trace__find_syscall_bpf_prog(struct trace *trace, struct syscall *sc, const char *prog_name, const char *type) argument 3332 trace__init_syscall_bpf_progs(struct trace *trace, int id) argument 3343 trace__bpf_prog_sys_enter_fd(struct trace *trace, int id) argument 3349 trace__bpf_prog_sys_exit_fd(struct trace *trace, int id) argument 3355 trace__find_usable_bpf_prog_entry(struct trace *trace, struct syscall *sc) argument 3456 trace__init_syscalls_bpf_prog_array_maps(struct trace *trace) argument 3548 trace__set_ev_qualifier_filter(struct trace *trace) argument 3573 trace__set_filter_loop_pids(struct trace *trace) argument 3604 trace__set_filter_pids(struct trace *trace) argument 3627 __trace__deliver_event(struct trace *trace, union perf_event *event) argument 3641 __trace__flush_events(struct trace *trace) argument 3653 trace__flush_events(struct trace *trace) argument 3658 trace__deliver_event(struct trace *trace, union perf_event *event) argument 3679 struct trace *trace = container_of(oe, struct trace, oe.data); local 3797 trace__expand_filters(struct trace *trace, struct evsel **err_evsel) argument 3815 trace__run(struct trace *trace, int argc, const char **argv) argument 4111 trace__replay(struct trace *trace) argument 4231 thread__dump_stats(struct thread_trace *ttrace, struct trace *trace, FILE *fp) argument 4283 trace__fprintf_thread(FILE *fp, struct thread *thread, struct trace *trace) argument 4334 trace__fprintf_thread_summary(struct trace *trace, FILE *fp) argument 4354 struct trace *trace = opt->value; local 4365 struct trace *trace = opt->value; local 4392 trace__open_output(struct trace *trace, const char *filename) argument 4502 struct trace *trace = (struct trace *)opt->value; local 4594 struct trace *trace = opt->value; local 4609 struct trace *trace = arg; local 4651 trace__exit(struct trace *trace) argument 4687 struct trace trace = { local [all...] |