/kernel/trace/ |
D | blktrace.c | 1194 const struct blk_io_trace *te_blk_io_trace(const struct trace_entry *ent) in te_blk_io_trace() argument 1196 return (const struct blk_io_trace *)ent; in te_blk_io_trace() 1199 static inline const void *pdu_start(const struct trace_entry *ent, bool has_cg) in pdu_start() argument 1201 return (void *)(te_blk_io_trace(ent) + 1) + (has_cg ? sizeof(u64) : 0); in pdu_start() 1204 static inline u64 t_cgid(const struct trace_entry *ent) in t_cgid() argument 1206 return *(u64 *)(te_blk_io_trace(ent) + 1); in t_cgid() 1209 static inline int pdu_real_len(const struct trace_entry *ent, bool has_cg) in pdu_real_len() argument 1211 return te_blk_io_trace(ent)->pdu_len - (has_cg ? sizeof(u64) : 0); in pdu_real_len() 1214 static inline u32 t_action(const struct trace_entry *ent) in t_action() argument 1216 return te_blk_io_trace(ent)->action; in t_action() [all …]
|
D | trace_functions_graph.c | 34 struct ftrace_graph_ent_entry ent; member 193 struct ftrace_graph_ent ent = { in __trace_graph_function() local 204 __trace_graph_entry(tr, &ent, trace_ctx); in __trace_graph_function() 431 curr = &data->ent; in get_return_for_leaf() 461 data->ent = *curr; in get_return_for_leaf() 467 if (next->ent.type == TRACE_GRAPH_RET) in get_return_for_leaf() 470 data->ret.ent.type = next->ent.type; in get_return_for_leaf() 474 if (next->ent.type != TRACE_GRAPH_RET) in get_return_for_leaf() 477 if (curr->ent.pid != next->ent.pid || in get_return_for_leaf() 516 struct trace_entry *ent = iter->ent; in print_graph_irq() local [all …]
|
D | trace_output.c | 29 struct trace_entry *entry = iter->ent; in trace_print_bputs_msg_only() 42 struct trace_entry *entry = iter->ent; in trace_print_bprintk_msg_only() 55 struct trace_entry *entry = iter->ent; in trace_print_printk_msg_only() 302 entry = iter->ent; in trace_raw_output_prep() 609 struct trace_entry *entry = iter->ent; in trace_print_context() 649 entry = iter->ent; in trace_print_lat_context() 847 trace_seq_printf(&iter->seq, "type: %d\n", iter->ent->type); in trace_nop_print() 870 trace_assign_type(field, iter->ent); in trace_fn_trace() 883 trace_assign_type(field, iter->ent); in trace_fn_raw() 898 trace_assign_type(field, iter->ent); in trace_fn_hex() [all …]
|
D | trace.h | 95 struct trace_entry ent; \ 127 struct trace_entry ent; member 133 struct trace_entry ent; member 139 struct trace_entry ent; member 144 struct trace_entry ent; member 148 struct trace_entry ent; member 455 #define trace_assign_type(var, ent) \ argument 457 IF_ASSIGN(var, ent, struct ftrace_entry, TRACE_FN); \ 458 IF_ASSIGN(var, ent, struct ctx_switch_entry, 0); \ 459 IF_ASSIGN(var, ent, struct stack_entry, TRACE_STACK); \ [all …]
|
D | trace_syscalls.c | 132 struct trace_entry *ent = iter->ent; in print_syscall_enter() local 137 trace = (typeof(trace))ent; in print_syscall_enter() 144 if (entry->enter_event->event.type != ent->type) { in print_syscall_enter() 178 struct trace_entry *ent = iter->ent; in print_syscall_exit() local 183 trace = (typeof(trace))ent; in print_syscall_exit() 192 if (entry->exit_event->event.type != ent->type) { in print_syscall_exit()
|
D | trace_mmiotrace.c | 167 struct trace_entry *entry = iter->ent; in mmio_print_rw() 212 struct trace_entry *entry = iter->ent; in mmio_print_map() 246 struct trace_entry *entry = iter->ent; in mmio_print_mark() 262 switch (iter->ent->type) { in mmio_print_line()
|
D | trace.c | 940 struct trace_entry *ent = ring_buffer_event_data(event); in trace_event_setup() local 942 tracing_generic_entry_update(ent, type, trace_ctx); in trace_event_setup() 2890 iter->ent = fbuffer->entry; in output_printk() 3618 struct trace_entry *ent, *next = NULL; in __find_next_entry() local 3633 ent = peek_next_entry(iter, cpu_file, ent_ts, missing_events); in __find_next_entry() 3637 return ent; in __find_next_entry() 3645 ent = peek_next_entry(iter, cpu, &ts, &lost_events); in __find_next_entry() 3650 if (ent && (!next || ts < next_ts)) { in __find_next_entry() 3651 next = ent; in __find_next_entry() 3710 if ((addr >= (unsigned long)iter->ent) && in trace_safe_str() [all …]
|
D | trace_probe.h | 64 static nokprobe_inline void *get_loc_data(u32 *dl, void *ent) in get_loc_data() argument 66 return (u8 *)ent + get_loc_offs(*dl); in get_loc_data() 153 int PRINT_TYPE_FUNC_NAME(type)(struct trace_seq *s, void *data, void *ent);\
|
D | trace_probe.c | 34 int PRINT_TYPE_FUNC_NAME(tname)(struct trace_seq *s, void *data, void *ent)\ 54 int PRINT_TYPE_FUNC_NAME(symbol)(struct trace_seq *s, void *data, void *ent) in PRINT_TYPE_FUNC_NAME() 62 int PRINT_TYPE_FUNC_NAME(string)(struct trace_seq *s, void *data, void *ent) in PRINT_TYPE_FUNC_NAME() 70 (const char *)get_loc_data(data, ent)); in PRINT_TYPE_FUNC_NAME()
|
D | trace_branch.c | 145 trace_assign_type(field, iter->ent); in trace_branch_print()
|
D | trace_uprobe.c | 28 struct trace_entry ent; member 1027 entry = (struct uprobe_trace_entry_head *)iter->ent; in print_uprobe_event()
|
D | trace_kprobe.c | 1477 field = (struct kprobe_trace_entry_head *)iter->ent; in print_kprobe_event() 1507 field = (struct kretprobe_trace_entry_head *)iter->ent; in print_kretprobe_event()
|
D | trace_events_synth.c | 129 struct trace_entry ent; member 357 entry = (struct synth_trace_event *)iter->ent; in print_synth_event()
|
D | trace_eprobe.c | 292 field = (struct eprobe_trace_entry_head *)iter->ent; in print_eprobe_event()
|
D | trace_events.c | 182 offsetof(typeof(ent), item), \ 183 sizeof(ent.item), \ 204 struct trace_entry ent; in trace_define_common_fields() local
|
D | trace_events_user.c | 778 1, iter->ent, iter->ent_size, true); in user_event_print_trace()
|
/kernel/ |
D | kprobes.c | 1382 struct kprobe_blacklist_entry *ent; in __within_kprobe_blacklist() local 1390 list_for_each_entry(ent, &kprobe_blacklist, list) { in __within_kprobe_blacklist() 1391 if (addr >= ent->start_addr && addr < ent->end_addr) in __within_kprobe_blacklist() 2465 struct kprobe_blacklist_entry *ent; in kprobe_add_ksym_blacklist() local 2472 ent = kmalloc(sizeof(*ent), GFP_KERNEL); in kprobe_add_ksym_blacklist() 2473 if (!ent) in kprobe_add_ksym_blacklist() 2475 ent->start_addr = entry; in kprobe_add_ksym_blacklist() 2476 ent->end_addr = entry + size; in kprobe_add_ksym_blacklist() 2477 INIT_LIST_HEAD(&ent->list); in kprobe_add_ksym_blacklist() 2478 list_add_tail(&ent->list, &kprobe_blacklist); in kprobe_add_ksym_blacklist() [all …]
|