Lines Matching defs:trace
128 struct trace { struct
129 struct perf_tool tool;
130 struct syscalltbl *sctbl;
131 struct {
138 } syscalls;
140 struct augmented_raw_syscalls_bpf *skel;
142 struct record_opts opts;
143 struct evlist *evlist;
144 struct machine *host;
145 struct thread *current;
146 struct cgroup *cgroup;
147 u64 base_time;
148 FILE *output;
149 unsigned long nr_events;
150 unsigned long nr_events_printed;
151 unsigned long max_events;
152 struct evswitch evswitch;
153 struct strlist *ev_qualifier;
154 struct {
157 } ev_qualifier_ids;
158 struct {
162 } filter_pids;
163 double duration_filter;
187 bool trace_syscalls; argument
188 bool libtraceevent_print; argument
198 int trace_pgfaults; argument
199 char *perfconfig_events;
200 struct {
203 } oe;
1436 struct trace *trace) in thread__fd_path()
1469 size_t pid__scnprintf_fd(struct trace *trace, pid_t pid, int fd, char *bf, size_t size) in pid__scnprintf_fd()
1539 static bool trace__filter_duration(struct trace *trace, double t) in trace__filter_duration()
1544 static size_t __trace__fprintf_tstamp(struct trace *trace, u64 tstamp, FILE *fp) in __trace__fprintf_tstamp()
1557 static size_t trace__fprintf_tstamp(struct trace *trace, u64 tstamp, FILE *fp) in trace__fprintf_tstamp()
1581 static size_t trace__fprintf_comm_tid(struct trace *trace, struct thread *thread, FILE *fp) in trace__fprintf_comm_tid()
1594 static size_t trace__fprintf_entry_head(struct trace *trace, struct thread *thread, in trace__fprintf_entry_head()
1606 static int trace__process_event(struct trace *trace, struct machine *machine, in trace__process_event()
1630 struct trace *trace = container_of(tool, struct trace, tool); in trace__tool_process() local
1652 static int trace__symbols_init(struct trace *trace, struct evlist *evlist) in trace__symbols_init()
1679 static void trace__symbols__exit(struct trace *trace) in trace__symbols__exit()
1794 static int trace__read_syscall_info(struct trace *trace, int id) in trace__read_syscall_info()
1893 static int trace__validate_ev_qualifier(struct trace *trace) in trace__validate_ev_qualifier()
1967 static __maybe_unused bool trace__syscall_enabled(struct trace *trace, int id) in trace__syscall_enabled()
2036 struct trace *trace, struct thread *thread) in syscall__scnprintf_args()
2127 static struct syscall *trace__syscall_info(struct trace *trace,
2249 static int trace__printf_interrupted_entry(struct trace *trace)
2277 static int trace__fprintf_sample(struct trace *trace, struct evsel *evsel,
2328 static int trace__sys_enter(struct trace *trace, struct evsel *evsel,
2407 static int trace__fprintf_sys_enter(struct trace *trace, struct evsel *evsel,
2440 static int trace__resolve_callchain(struct trace *trace, struct evsel *evsel,
2460 static int trace__fprintf_callchain(struct trace *trace, struct perf_sample *sample)
2477 static int trace__sys_exit(struct trace *trace, struct evsel *evsel,
2613 static int trace__vfs_getname(struct trace *trace, struct evsel *evsel,
2674 static int trace__sched_stat_runtime(struct trace *trace, struct evsel *evsel,
2728 static void bpf_output__fprintf(struct trace *trace,
2736 static size_t trace__fprintf_tp_fields(struct trace *trace, struct evsel *evsel, struct perf_sample…
2808 static int trace__event_handler(struct trace *trace, struct evsel *evsel,
2916 static int trace__pgfault(struct trace *trace,
2995 static void trace__set_base_time(struct trace *trace,
3018 struct trace *trace = container_of(tool, struct trace, tool); local
3039 static int trace__record(struct trace *trace, int argc, const char **argv)
3170 static void trace__handle_event(struct trace *trace, union perf_event *event, struct perf_sample *s…
3205 static int trace__add_syscall_newtp(struct trace *trace)
3254 static int trace__set_ev_qualifier_tp_filter(struct trace *trace)
3279 static struct bpf_program *trace__find_bpf_program_by_title(struct trace *trace, const char *name)
3298 static struct bpf_program *trace__find_syscall_bpf_prog(struct trace *trace, struct syscall *sc,
3331 static void trace__init_syscall_bpf_progs(struct trace *trace, int id)
3342 static int trace__bpf_prog_sys_enter_fd(struct trace *trace, int id)
3348 static int trace__bpf_prog_sys_exit_fd(struct trace *trace, int id)
3354 static struct bpf_program *trace__find_usable_bpf_prog_entry(struct trace *trace, struct syscall *s…
3455 static int trace__init_syscalls_bpf_prog_array_maps(struct trace *trace)
3547 static int trace__set_ev_qualifier_filter(struct trace *trace)
3572 static int trace__set_filter_loop_pids(struct trace *trace)
3603 static int trace__set_filter_pids(struct trace *trace)
3626 static int __trace__deliver_event(struct trace *trace, union perf_event *event)
3640 static int __trace__flush_events(struct trace *trace)
3652 static int trace__flush_events(struct trace *trace)
3657 static int trace__deliver_event(struct trace *trace, union perf_event *event)
3678 struct trace *trace = container_of(oe, struct trace, oe.data); local
3796 static int trace__expand_filters(struct trace *trace, struct evsel **err_evsel)
3814 static int trace__run(struct trace *trace, int argc, const char **argv)
4110 static int trace__replay(struct trace *trace)
4231 struct trace *trace, FILE *fp)
4282 static size_t trace__fprintf_thread(FILE *fp, struct thread *thread, struct trace *trace)
4324 static size_t trace__fprintf_thread_summary(struct trace *trace, FILE *fp)
4349 struct trace *trace = opt->value; local
4360 struct trace *trace = opt->value; local
4387 static int trace__open_output(struct trace *trace, const char *filename)
4497 struct trace *trace = (struct trace *)opt->value; local
4589 struct trace *trace = opt->value; local
4604 struct trace *trace = arg; local
4646 static void trace__exit(struct trace *trace)
4682 struct trace trace = { local