Searched refs:fbuf (Results 1 – 10 of 10) sorted by relevance
52 if (s->fbuf && s->fbuf->syscall_trace_enabled && in get_fbuf()70 char *dst = (char *)fbuf + fbuf->buf_off; in fbuf_make_room()71 const char *src = (char *)fbuf + fbuf->buf_off + size; in fbuf_make_room()88 if (fbuf->buf_off + size > fbuf->max_size) in fbuf_make_room()145 if (!fbuf || !fbuf->buf_off || !fbuf->max_size) in ftrace_enter()167 fbuf->ret_stack[fbuf->ret_idx] = *lr; in ftrace_enter()251 if (fbuf && fbuf->ret_idx && fbuf->ret_idx <= FTRACE_RETFUNC_DEPTH) in ftrace_return()256 curr_buf = (char *)fbuf + fbuf->buf_off + fbuf->curr_size; in ftrace_return()282 curr_buf = (char *)fbuf + fbuf->buf_off + in ftrace_return()299 fbuf->begin_time[fbuf->ret_idx], in ftrace_return()[all …]
48 count = snprintk((char *)fbuf + fbuf->head_off, MAX_HEADER_STRLEN, in ftrace_init()54 fbuf->ret_idx = 0; in ftrace_init()55 fbuf->lr_idx = 0; in ftrace_init()57 fbuf->buf_off = fbuf->head_off + count; in ftrace_init()63 *fbuf_ptr = fbuf; in ftrace_init()71 if (fbuf) { in ftrace_copy_buf()73 size_t dump_size = fbuf->buf_off - fbuf->head_off + in ftrace_copy_buf()77 copy_func(pctx, (char *)fbuf + fbuf->head_off, dump_size); in ftrace_copy_buf()83 if (fbuf) { in ftrace_map_lr()85 fbuf->lr_idx < fbuf->ret_idx) { in ftrace_map_lr()[all …]
163 if (ftrace_init(&arg->fbuf)) in ldelf()
293 s->ts_sess.fbuf = NULL; in destroy_session()945 struct ftrace_buf *fbuf = NULL; in ftrace_update_times() local954 fbuf = s->fbuf; in ftrace_update_times()955 if (!fbuf) in ftrace_update_times()959 fbuf->suspend_time = now; in ftrace_update_times()961 for (i = 0; i <= fbuf->ret_idx; i++) in ftrace_update_times()962 fbuf->begin_time[i] += now - fbuf->suspend_time; in ftrace_update_times()
175 if (s && s->fbuf) in ftrace_syscall_enter()176 s->fbuf->syscall_trace_enabled = true; in ftrace_syscall_enter()183 if (s && s->fbuf) in ftrace_syscall_leave()184 s->fbuf->syscall_trace_enabled = false; in ftrace_syscall_leave()
27 struct ftrace_buf *fbuf; /* ftrace buffer */ member
39 struct ftrace_buf *fbuf; member
158 sess->fbuf = arg->fbuf; in ldelf_init_with_ldelf()
646 if (s && s->fbuf) in ftrace_suspend()647 s->fbuf->syscall_trace_suspended = true; in ftrace_suspend()654 if (s && s->fbuf) in ftrace_resume()655 s->fbuf->syscall_trace_suspended = false; in ftrace_resume()
259 s->fbuf = NULL; in abort_print_current_ts()
Completed in 21 milliseconds