Lines Matching defs:trace

142 struct trace {  struct
146 /** Sorted sycall numbers used by the trace. */ argument
155 } syscalls;
157 struct btf *btf;
159 struct record_opts opts;
160 struct evlist *evlist;
161 struct machine *host;
162 struct thread *current;
163 struct cgroup *cgroup;
164 u64 base_time;
165 FILE *output;
166 unsigned long nr_events;
167 unsigned long nr_events_printed;
168 unsigned long max_events;
169 struct evswitch evswitch;
170 struct strlist *ev_qualifier;
171 struct {
174 } ev_qualifier_ids;
198 enum trace_summary_mode summary_mode; argument
215 bool trace_syscalls; argument
216 bool libtraceevent_print; argument
228 int trace_pgfaults; argument
237 static void trace__load_vmlinux_btf(struct trace *trace __maybe_unused) in trace__load_vmlinux_btf() argument
1077 static size_t trace__btf_scnprintf(struct trace *trace, struct syscall_arg *arg, char *bf, in trace__btf_scnprintf()
1583 static struct thread_trace *thread_trace__new(struct trace *trace) in thread_trace__new()
1615 static struct thread_trace *thread__trace(struct thread *thread, struct trace *trace) in thread__trace()
1739 struct trace *trace) in thread__fd_path()
1772 size_t pid__scnprintf_fd(struct trace *trace, pid_t pid, int fd, char *bf, size_t size) in pid__scnprintf_fd()
1868 static bool trace__filter_duration(struct trace *trace, double t) in trace__filter_duration()
1873 static size_t __trace__fprintf_tstamp(struct trace *trace, u64 tstamp, FILE *fp) in __trace__fprintf_tstamp()
1886 static size_t trace__fprintf_tstamp(struct trace *trace, u64 tstamp, FILE *fp) in trace__fprintf_tstamp()
1910 static size_t trace__fprintf_comm_tid(struct trace *trace, struct thread *thread, FILE *fp) in trace__fprintf_comm_tid()
1923 static size_t trace__fprintf_entry_head(struct trace *trace, struct thread *thread, in trace__fprintf_entry_head()
1935 static int trace__process_event(struct trace *trace, struct machine *machine, in trace__process_event()
1959 struct trace *trace = container_of(tool, struct trace, tool); in trace__tool_process() local
1981 static int trace__symbols_init(struct trace *trace, int argc, const char **argv, in trace__symbols_init()
2016 static void trace__symbols__exit(struct trace *trace) in trace__symbols__exit()
2141 static int syscall__read_info(struct syscall *sc, struct trace *trace) in syscall__read_info()
2236 static int trace__validate_ev_qualifier(struct trace *trace) in trace__validate_ev_qualifier()
2314 static __maybe_unused bool trace__syscall_enabled(struct trace *trace, int id) in trace__syscall_enabled()
2383 struct trace *trace, struct thread *thread) in syscall__scnprintf_args()
2522 static struct syscall *trace__find_syscall(struct trace *trace, int e_machine, int id) in trace__find_syscall()
2562 static struct syscall *trace__syscall_info(struct trace *trace, struct evsel *evsel, in trace__syscall_info()
2615 struct trace *trace) in thread__update_stats()
2671 static int trace__printf_interrupted_entry(struct trace *trace) in trace__printf_interrupted_entry()
2699 static int trace__fprintf_sample(struct trace *trace, struct evsel *evsel, in trace__fprintf_sample()
2755 static int trace__sys_enter(struct trace *trace, struct evsel *evsel, in trace__sys_enter()
2835 static int trace__fprintf_sys_enter(struct trace *trace, struct evsel *evsel, in trace__fprintf_sys_enter()
2871 static int trace__resolve_callchain(struct trace *trace, struct evsel *evsel, in trace__resolve_callchain()
2891 static int trace__fprintf_callchain(struct trace *trace, struct perf_sample *sample) in trace__fprintf_callchain()
2901 static int trace__sys_exit(struct trace *trace, struct evsel *evsel, in trace__sys_exit()
3039 static int trace__vfs_getname(struct trace *trace, struct evsel *evsel, in trace__vfs_getname()
3100 static int trace__sched_stat_runtime(struct trace *trace, struct evsel *evsel, in trace__sched_stat_runtime()
3154 static void bpf_output__fprintf(struct trace *trace, in bpf_output__fprintf()
3162 static size_t trace__fprintf_tp_fields(struct trace *trace, struct evsel *evsel, struct perf_sample… in trace__fprintf_tp_fields()
3232 static int trace__event_handler(struct trace *trace, struct evsel *evsel, in trace__event_handler()
3338 static int trace__pgfault(struct trace *trace, in trace__pgfault()
3420 static void trace__set_base_time(struct trace *trace, in trace__set_base_time()
3443 struct trace *trace = container_of(tool, struct trace, tool); in trace__process_sample() local
3464 static int trace__record(struct trace *trace, int argc, const char **argv) in trace__record()
3596 static void trace__handle_event(struct trace *trace, union perf_event *event, struct perf_sample *s… in trace__handle_event()
3631 static int trace__add_syscall_newtp(struct trace *trace) in trace__add_syscall_newtp()
3680 static int trace__set_ev_qualifier_tp_filter(struct trace *trace) in trace__set_ev_qualifier_tp_filter()
3759 static void trace__init_syscall_bpf_progs(struct trace *trace, int e_machine, int id) in trace__init_syscall_bpf_progs()
3770 static int trace__bpf_prog_sys_enter_fd(struct trace *trace, int e_machine, int id) in trace__bpf_prog_sys_enter_fd()
3776 static int trace__bpf_prog_sys_exit_fd(struct trace *trace, int e_machine, int id) in trace__bpf_prog_sys_exit_fd()
3782 static int trace__bpf_sys_enter_beauty_map(struct trace *trace, int e_machine, int key, unsigned in… in trace__bpf_sys_enter_beauty_map()
3867 static struct bpf_program *trace__find_usable_bpf_prog_entry(struct trace *trace, in trace__find_usable_bpf_prog_entry()
3969 static int trace__init_syscalls_bpf_prog_array_maps(struct trace *trace, int e_machine) in trace__init_syscalls_bpf_prog_array_maps()
4084 static int trace__set_ev_qualifier_filter(struct trace *trace) in trace__set_ev_qualifier_filter()
4091 static int trace__set_filter_loop_pids(struct trace *trace) in trace__set_filter_loop_pids()
4125 static int trace__set_filter_pids(struct trace *trace) in trace__set_filter_pids()
4148 static int __trace__deliver_event(struct trace *trace, union perf_event *event) in __trace__deliver_event()
4165 static int __trace__flush_events(struct trace *trace) in __trace__flush_events()
4177 static int trace__flush_events(struct trace *trace) in trace__flush_events()
4182 static int trace__deliver_event(struct trace *trace, union perf_event *event) in trace__deliver_event()
4203 struct trace *trace = container_of(oe, struct trace, oe.data); in ordered_events__deliver_event() local
4232 static int trace__expand_filter(struct trace *trace, struct evsel *evsel) in trace__expand_filter()
4333 static int trace__expand_filters(struct trace *trace, struct evsel **err_evsel) in trace__expand_filters()
4351 static int trace__run(struct trace *trace, int argc, const char **argv) in trace__run()
4666 static int trace__replay(struct trace *trace) in trace__replay()
4821 static size_t syscall__dump_stats(struct trace *trace, int e_machine, FILE *fp, in syscall__dump_stats()
4879 struct trace *trace, int e_machine, FILE *fp) in thread__dump_stats()
4884 static size_t system__dump_stats(struct trace *trace, int e_machine, FILE *fp) in system__dump_stats()
4889 static size_t trace__fprintf_thread(FILE *fp, struct thread *thread, struct trace *trace) in trace__fprintf_thread()
4941 static size_t trace__fprintf_thread_summary(struct trace *trace, FILE *fp) in trace__fprintf_thread_summary()
4958 static size_t trace__fprintf_total_summary(struct trace *trace, FILE *fp) in trace__fprintf_total_summary()
4983 struct trace *trace = opt->value; in trace__set_duration() local
4994 struct trace *trace = opt->value; in trace__set_filter_pids_from_option() local
5021 static int trace__open_output(struct trace *trace, const char *filename) in trace__open_output()
5146 struct trace *trace = (struct trace *)opt->value; in trace__parse_events_option() local
5239 struct trace *trace = opt->value; in trace__parse_cgroups() local
5255 struct trace *trace = opt->value; in trace__parse_summary_mode() local
5273 struct trace *trace = arg; in trace__config() local
5315 static void trace__exit(struct trace *trace) in trace__exit()
5344 struct trace trace = { in cmd_trace() local