Lines Matching defs:trace

89 struct trace {  struct
90 struct perf_tool tool;
91 struct syscalltbl *sctbl;
92 struct {
105 } syscalls;
106 struct {
108 } dump;
109 struct record_opts opts;
110 struct evlist *evlist;
111 struct machine *host;
112 struct thread *current;
113 struct bpf_object *bpf_obj;
114 struct cgroup *cgroup;
115 u64 base_time;
116 FILE *output;
117 unsigned long nr_events;
118 unsigned long nr_events_printed;
119 unsigned long max_events;
120 struct evswitch evswitch;
121 struct strlist *ev_qualifier;
122 struct {
125 } ev_qualifier_ids;
126 struct {
130 } filter_pids;
154 bool trace_syscalls; argument
164 int trace_pgfaults; argument
165 struct {
168 } oe;
1194 struct trace *trace) in thread__fd_path()
1227 size_t pid__scnprintf_fd(struct trace *trace, pid_t pid, int fd, char *bf, size_t size) in pid__scnprintf_fd()
1297 static bool trace__filter_duration(struct trace *trace, double t) in trace__filter_duration()
1302 static size_t __trace__fprintf_tstamp(struct trace *trace, u64 tstamp, FILE *fp) in __trace__fprintf_tstamp()
1315 static size_t trace__fprintf_tstamp(struct trace *trace, u64 tstamp, FILE *fp) in trace__fprintf_tstamp()
1332 static size_t trace__fprintf_comm_tid(struct trace *trace, struct thread *thread, FILE *fp) in trace__fprintf_comm_tid()
1345 static size_t trace__fprintf_entry_head(struct trace *trace, struct thread *thread, in trace__fprintf_entry_head()
1357 static int trace__process_event(struct trace *trace, struct machine *machine, in trace__process_event()
1381 struct trace *trace = container_of(tool, struct trace, tool); in trace__tool_process() local
1403 static int trace__symbols_init(struct trace *trace, struct evlist *evlist) in trace__symbols_init()
1428 static void trace__symbols__exit(struct trace *trace) in trace__symbols__exit()
1500 static int trace__read_syscall_info(struct trace *trace, int id) in trace__read_syscall_info()
1562 static int trace__validate_ev_qualifier(struct trace *trace) in trace__validate_ev_qualifier()
1636 static __maybe_unused bool trace__syscall_enabled(struct trace *trace, int id) in trace__syscall_enabled()
1705 struct trace *trace, struct thread *thread) in syscall__scnprintf_args()
1794 static struct syscall *trace__syscall_info(struct trace *trace, in trace__syscall_info()
1873 static int trace__printf_interrupted_entry(struct trace *trace) in trace__printf_interrupted_entry()
1901 static int trace__fprintf_sample(struct trace *trace, struct evsel *evsel, in trace__fprintf_sample()
1944 static int trace__sys_enter(struct trace *trace, struct evsel *evsel, in trace__sys_enter()
2023 static int trace__fprintf_sys_enter(struct trace *trace, struct evsel *evsel, in trace__fprintf_sys_enter()
2056 static int trace__resolve_callchain(struct trace *trace, struct evsel *evsel, in trace__resolve_callchain()
2074 static int trace__fprintf_callchain(struct trace *trace, struct perf_sample *sample) in trace__fprintf_callchain()
2092 static int trace__sys_exit(struct trace *trace, struct evsel *evsel, in trace__sys_exit()
2226 static int trace__vfs_getname(struct trace *trace, struct evsel *evsel, in trace__vfs_getname()
2287 static int trace__sched_stat_runtime(struct trace *trace, struct evsel *evsel, in trace__sched_stat_runtime()
2341 static void bpf_output__fprintf(struct trace *trace, in bpf_output__fprintf()
2349 static int trace__event_handler(struct trace *trace, struct evsel *evsel, in trace__event_handler()
2450 static int trace__pgfault(struct trace *trace, in trace__pgfault()
2525 static void trace__set_base_time(struct trace *trace, in trace__set_base_time()
2548 struct trace *trace = container_of(tool, struct trace, tool); in trace__process_sample() local
2569 static int trace__record(struct trace *trace, int argc, const char **argv) in trace__record()
2679 static void trace__handle_event(struct trace *trace, union perf_event *event, struct perf_sample *s… in trace__handle_event()
2714 static int trace__add_syscall_newtp(struct trace *trace) in trace__add_syscall_newtp()
2763 static int trace__set_ev_qualifier_tp_filter(struct trace *trace) in trace__set_ev_qualifier_tp_filter()
2789 static struct bpf_program *trace__find_bpf_program_by_title(struct trace *trace, const char *name) in trace__find_bpf_program_by_title()
2797 static struct bpf_program *trace__find_syscall_bpf_prog(struct trace *trace, struct syscall *sc, in trace__find_syscall_bpf_prog()
2830 static void trace__init_syscall_bpf_progs(struct trace *trace, int id) in trace__init_syscall_bpf_progs()
2841 static int trace__bpf_prog_sys_enter_fd(struct trace *trace, int id) in trace__bpf_prog_sys_enter_fd()
2847 static int trace__bpf_prog_sys_exit_fd(struct trace *trace, int id) in trace__bpf_prog_sys_exit_fd()
2853 static void trace__init_bpf_map_syscall_args(struct trace *trace, int id, struct bpf_map_syscall_en… in trace__init_bpf_map_syscall_args()
2872 static int trace__set_ev_qualifier_bpf_filter(struct trace *trace) in trace__set_ev_qualifier_bpf_filter()
2897 static int __trace__init_syscalls_bpf_map(struct trace *trace, bool enabled) in __trace__init_syscalls_bpf_map()
2917 static int trace__init_syscalls_bpf_map(struct trace *trace) in trace__init_syscalls_bpf_map()
2927 static struct bpf_program *trace__find_usable_bpf_prog_entry(struct trace *trace, struct syscall *s… in trace__find_usable_bpf_prog_entry()
3015 static int trace__init_syscalls_bpf_prog_array_maps(struct trace *trace) in trace__init_syscalls_bpf_prog_array_maps()
3129 static int trace__set_ev_qualifier_filter(struct trace *trace) in trace__set_ev_qualifier_filter()
3156 static int trace__set_filter_loop_pids(struct trace *trace) in trace__set_filter_loop_pids()
3185 static int trace__set_filter_pids(struct trace *trace) in trace__set_filter_pids()
3208 static int __trace__deliver_event(struct trace *trace, union perf_event *event) in __trace__deliver_event()
3223 static int __trace__flush_events(struct trace *trace) in __trace__flush_events()
3235 static int trace__flush_events(struct trace *trace) in trace__flush_events()
3240 static int trace__deliver_event(struct trace *trace, union perf_event *event) in trace__deliver_event()
3261 struct trace *trace = container_of(oe, struct trace, oe.data); in ordered_events__deliver_event() local
3266 static int trace__run(struct trace *trace, int argc, const char **argv) in trace__run()
3559 static int trace__replay(struct trace *trace) in trace__replay()
3682 struct trace *trace, FILE *fp) in thread__dump_stats()
3724 static size_t trace__fprintf_thread(FILE *fp, struct thread *thread, struct trace *trace) in trace__fprintf_thread()
3764 static size_t trace__fprintf_thread_summary(struct trace *trace, FILE *fp) in trace__fprintf_thread_summary()
3789 struct trace *trace = opt->value; in trace__set_duration() local
3800 struct trace *trace = opt->value; in trace__set_filter_pids_from_option() local
3827 static int trace__open_output(struct trace *trace, const char *filename) in trace__open_output()
3910 struct trace *trace = (struct trace *)opt->value; in trace__parse_events_option() local
3996 struct trace *trace = opt->value; in trace__parse_cgroups() local
4006 static struct bpf_map *trace__find_bpf_map_by_name(struct trace *trace, const char *name) in trace__find_bpf_map_by_name()
4014 static void trace__set_bpf_map_filtered_pids(struct trace *trace) in trace__set_bpf_map_filtered_pids()
4019 static void trace__set_bpf_map_syscalls(struct trace *trace) in trace__set_bpf_map_syscalls()
4028 struct trace *trace = arg; in trace__config() local
4078 struct trace trace = { in cmd_trace() local