Lines Matching defs:trace
119 struct trace { struct
120 struct perf_tool tool;
121 struct syscalltbl *sctbl;
122 struct {
135 } syscalls;
136 struct {
138 } dump;
139 struct record_opts opts;
140 struct evlist *evlist;
141 struct machine *host;
142 struct thread *current;
143 struct bpf_object *bpf_obj;
144 struct cgroup *cgroup;
145 u64 base_time;
146 FILE *output;
147 unsigned long nr_events;
148 unsigned long nr_events_printed;
149 unsigned long max_events;
150 struct evswitch evswitch;
151 struct strlist *ev_qualifier;
152 struct {
155 } ev_qualifier_ids;
156 struct {
160 } filter_pids;
161 double duration_filter;
185 bool trace_syscalls; argument
186 bool libtraceevent_print; argument
196 int trace_pgfaults; argument
197 char *perfconfig_events;
198 struct {
201 } oe;
1400 struct trace *trace) in thread__fd_path()
1433 size_t pid__scnprintf_fd(struct trace *trace, pid_t pid, int fd, char *bf, size_t size) in pid__scnprintf_fd()
1503 static bool trace__filter_duration(struct trace *trace, double t) in trace__filter_duration()
1508 static size_t __trace__fprintf_tstamp(struct trace *trace, u64 tstamp, FILE *fp) in __trace__fprintf_tstamp()
1521 static size_t trace__fprintf_tstamp(struct trace *trace, u64 tstamp, FILE *fp) in trace__fprintf_tstamp()
1538 static size_t trace__fprintf_comm_tid(struct trace *trace, struct thread *thread, FILE *fp) in trace__fprintf_comm_tid()
1551 static size_t trace__fprintf_entry_head(struct trace *trace, struct thread *thread, in trace__fprintf_entry_head()
1563 static int trace__process_event(struct trace *trace, struct machine *machine, in trace__process_event()
1587 struct trace *trace = container_of(tool, struct trace, tool); in trace__tool_process() local
1609 static int trace__symbols_init(struct trace *trace, struct evlist *evlist) in trace__symbols_init()
1634 static void trace__symbols__exit(struct trace *trace) in trace__symbols__exit()
1747 static int trace__read_syscall_info(struct trace *trace, int id) in trace__read_syscall_info()
1846 static int trace__validate_ev_qualifier(struct trace *trace) in trace__validate_ev_qualifier()
1920 static __maybe_unused bool trace__syscall_enabled(struct trace *trace, int id) in trace__syscall_enabled()
1989 struct trace *trace, struct thread *thread) in syscall__scnprintf_args()
2080 static struct syscall *trace__syscall_info(struct trace *trace,
2204 static int trace__printf_interrupted_entry(struct trace *trace)
2232 static int trace__fprintf_sample(struct trace *trace, struct evsel *evsel,
2275 static int trace__sys_enter(struct trace *trace, struct evsel *evsel,
2354 static int trace__fprintf_sys_enter(struct trace *trace, struct evsel *evsel,
2387 static int trace__resolve_callchain(struct trace *trace, struct evsel *evsel,
2405 static int trace__fprintf_callchain(struct trace *trace, struct perf_sample *sample)
2423 static int trace__sys_exit(struct trace *trace, struct evsel *evsel,
2557 static int trace__vfs_getname(struct trace *trace, struct evsel *evsel,
2618 static int trace__sched_stat_runtime(struct trace *trace, struct evsel *evsel,
2672 static void bpf_output__fprintf(struct trace *trace,
2680 static size_t trace__fprintf_tp_fields(struct trace *trace, struct evsel *evsel, struct perf_sample…
2754 static int trace__event_handler(struct trace *trace, struct evsel *evsel,
2860 static int trace__pgfault(struct trace *trace,
2935 static void trace__set_base_time(struct trace *trace,
2958 struct trace *trace = container_of(tool, struct trace, tool); local
2979 static int trace__record(struct trace *trace, int argc, const char **argv)
3104 static void trace__handle_event(struct trace *trace, union perf_event *event, struct perf_sample *s…
3139 static int trace__add_syscall_newtp(struct trace *trace)
3188 static int trace__set_ev_qualifier_tp_filter(struct trace *trace)
3213 static struct bpf_map *trace__find_bpf_map_by_name(struct trace *trace, const char *name)
3221 static void trace__set_bpf_map_filtered_pids(struct trace *trace)
3226 static void trace__set_bpf_map_syscalls(struct trace *trace)
3233 static struct bpf_program *trace__find_bpf_program_by_title(struct trace *trace, const char *name)
3241 static struct bpf_program *trace__find_syscall_bpf_prog(struct trace *trace, struct syscall *sc,
3274 static void trace__init_syscall_bpf_progs(struct trace *trace, int id)
3285 static int trace__bpf_prog_sys_enter_fd(struct trace *trace, int id)
3291 static int trace__bpf_prog_sys_exit_fd(struct trace *trace, int id)
3297 static void trace__init_bpf_map_syscall_args(struct trace *trace, int id, struct bpf_map_syscall_en…
3316 static int trace__set_ev_qualifier_bpf_filter(struct trace *trace)
3341 static int __trace__init_syscalls_bpf_map(struct trace *trace, bool enabled)
3361 static int trace__init_syscalls_bpf_map(struct trace *trace)
3371 static struct bpf_program *trace__find_usable_bpf_prog_entry(struct trace *trace, struct syscall *s…
3459 static int trace__init_syscalls_bpf_prog_array_maps(struct trace *trace)
3551 static void trace__delete_augmented_syscalls(struct trace *trace)
3611 static bool trace__only_augmented_syscalls_evsels(struct trace *trace)
3626 static int trace__set_ev_qualifier_filter(struct trace *trace)
3653 static int trace__set_filter_loop_pids(struct trace *trace)
3682 static int trace__set_filter_pids(struct trace *trace)
3705 static int __trace__deliver_event(struct trace *trace, union perf_event *event)
3720 static int __trace__flush_events(struct trace *trace)
3732 static int trace__flush_events(struct trace *trace)
3737 static int trace__deliver_event(struct trace *trace, union perf_event *event)
3758 struct trace *trace = container_of(oe, struct trace, oe.data); local
3876 static int trace__expand_filters(struct trace *trace, struct evsel **err_evsel)
3894 static int trace__run(struct trace *trace, int argc, const char **argv)
4188 static int trace__replay(struct trace *trace)
4311 struct trace *trace, FILE *fp)
4363 static size_t trace__fprintf_thread(FILE *fp, struct thread *thread, struct trace *trace)
4403 static size_t trace__fprintf_thread_summary(struct trace *trace, FILE *fp)
4428 struct trace *trace = opt->value; local
4439 struct trace *trace = opt->value; local
4466 static int trace__open_output(struct trace *trace, const char *filename)
4576 struct trace *trace = (struct trace *)opt->value; local
4662 struct trace *trace = opt->value; local
4677 struct trace *trace = arg; local
4728 struct trace trace = { local