/kernel/trace/ |
D | blktrace.c | 1101 const struct blk_io_trace *te_blk_io_trace(const struct trace_entry *ent) in te_blk_io_trace() argument 1103 return (const struct blk_io_trace *)ent; in te_blk_io_trace() 1106 static inline const void *pdu_start(const struct trace_entry *ent) in pdu_start() argument 1108 return te_blk_io_trace(ent) + 1; in pdu_start() 1111 static inline u32 t_action(const struct trace_entry *ent) in t_action() argument 1113 return te_blk_io_trace(ent)->action; in t_action() 1116 static inline u32 t_bytes(const struct trace_entry *ent) in t_bytes() argument 1118 return te_blk_io_trace(ent)->bytes; in t_bytes() 1121 static inline u32 t_sec(const struct trace_entry *ent) in t_sec() argument 1123 return te_blk_io_trace(ent)->bytes >> 9; in t_sec() [all …]
|
D | trace_output.c | 26 struct trace_entry *entry = iter->ent; in trace_print_bputs_msg_only() 39 struct trace_entry *entry = iter->ent; in trace_print_bprintk_msg_only() 52 struct trace_entry *entry = iter->ent; in trace_print_printk_msg_only() 234 entry = iter->ent; in trace_raw_output_prep() 529 struct trace_entry *entry = iter->ent; in trace_print_context() 570 struct trace_entry *entry = iter->ent, in trace_print_lat_context() 782 trace_seq_printf(&iter->seq, "type: %d\n", iter->ent->type); in trace_nop_print() 794 trace_assign_type(field, iter->ent); in trace_fn_trace() 813 trace_assign_type(field, iter->ent); in trace_fn_raw() 828 trace_assign_type(field, iter->ent); in trace_fn_hex() [all …]
|
D | trace_functions_graph.c | 60 struct ftrace_graph_ent_entry ent; member 437 struct ftrace_graph_ent ent = { in __trace_graph_function() local 448 __trace_graph_entry(tr, &ent, flags, pc); in __trace_graph_function() 650 curr = &data->ent; in get_return_for_leaf() 680 data->ent = *curr; in get_return_for_leaf() 686 if (next->ent.type == TRACE_GRAPH_RET) in get_return_for_leaf() 689 data->ret.ent.type = next->ent.type; in get_return_for_leaf() 693 if (next->ent.type != TRACE_GRAPH_RET) in get_return_for_leaf() 696 if (curr->ent.pid != next->ent.pid || in get_return_for_leaf() 724 struct trace_entry *ent = iter->ent; in print_graph_irq() local [all …]
|
D | trace.h | 71 struct trace_entry ent; \ 97 struct trace_entry ent; member 103 struct trace_entry ent; member 109 struct trace_entry ent; member 114 struct trace_entry ent; member 323 #define trace_assign_type(var, ent) \ argument 325 IF_ASSIGN(var, ent, struct ftrace_entry, TRACE_FN); \ 326 IF_ASSIGN(var, ent, struct ctx_switch_entry, 0); \ 327 IF_ASSIGN(var, ent, struct stack_entry, TRACE_STACK); \ 328 IF_ASSIGN(var, ent, struct userstack_entry, TRACE_USER_STACK);\ [all …]
|
D | trace_syscalls.c | 126 struct trace_entry *ent = iter->ent; in print_syscall_enter() local 131 trace = (typeof(trace))ent; in print_syscall_enter() 138 if (entry->enter_event->event.type != ent->type) { in print_syscall_enter() 172 struct trace_entry *ent = iter->ent; in print_syscall_exit() local 177 trace = (typeof(trace))ent; in print_syscall_exit() 186 if (entry->exit_event->event.type != ent->type) { in print_syscall_exit()
|
D | trace_mmiotrace.c | 168 struct trace_entry *entry = iter->ent; in mmio_print_rw() 213 struct trace_entry *entry = iter->ent; in mmio_print_map() 247 struct trace_entry *entry = iter->ent; in mmio_print_mark() 263 switch (iter->ent->type) { in mmio_print_line()
|
D | trace_probe.h | 90 static nokprobe_inline void *get_loc_data(u32 *dl, void *ent) in get_loc_data() argument 92 return (u8 *)ent + get_rloc_offs(*dl); in get_loc_data() 141 void *data, void *ent); \
|
D | trace.c | 1940 struct trace_entry *ent = ring_buffer_event_data(event); in trace_event_setup() local 1942 tracing_generic_entry_update(ent, flags, pc); in trace_event_setup() 1943 ent->type = type; in trace_event_setup() 2674 struct trace_entry *ent, *next = NULL; in __find_next_entry() local 2689 ent = peek_next_entry(iter, cpu_file, ent_ts, missing_events); in __find_next_entry() 2693 return ent; in __find_next_entry() 2701 ent = peek_next_entry(iter, cpu, &ts, &lost_events); in __find_next_entry() 2706 if (ent && (!next || ts < next_ts)) { in __find_next_entry() 2707 next = ent; in __find_next_entry() 2739 iter->ent = __find_next_entry(iter, &iter->cpu, in trace_find_next_entry_inc() [all …]
|
D | trace_probe.c | 41 void *data, void *ent) \ 64 void *data, void *ent) in PRINT_TYPE_FUNC_NAME() 72 (const char *)get_loc_data(data, ent)); in PRINT_TYPE_FUNC_NAME()
|
D | trace_branch.c | 143 trace_assign_type(field, iter->ent); in trace_branch_print()
|
D | trace_events.c | 163 offsetof(typeof(ent), item), \ 164 sizeof(ent.item), \ 184 struct trace_entry ent; in trace_define_common_fields() local 307 iter->ent = fbuffer->entry; in output_printk()
|
D | trace_uprobe.c | 32 struct trace_entry ent; member 866 entry = (struct uprobe_trace_entry_head *)iter->ent; in print_uprobe_event()
|
D | trace_kprobe.c | 1021 field = (struct kprobe_trace_entry_head *)iter->ent; in print_kprobe_event() 1052 field = (struct kretprobe_trace_entry_head *)iter->ent; in print_kretprobe_event()
|
/kernel/ |
D | kprobes.c | 1337 struct kprobe_blacklist_entry *ent; in within_kprobe_blacklist() local 1345 list_for_each_entry(ent, &kprobe_blacklist, list) { in within_kprobe_blacklist() 1346 if (addr >= ent->start_addr && addr < ent->end_addr) in within_kprobe_blacklist() 2061 struct kprobe_blacklist_entry *ent; in populate_kprobe_blacklist() local 2074 ent = kmalloc(sizeof(*ent), GFP_KERNEL); in populate_kprobe_blacklist() 2075 if (!ent) in populate_kprobe_blacklist() 2077 ent->start_addr = entry; in populate_kprobe_blacklist() 2078 ent->end_addr = entry + size; in populate_kprobe_blacklist() 2079 INIT_LIST_HEAD(&ent->list); in populate_kprobe_blacklist() 2080 list_add_tail(&ent->list, &kprobe_blacklist); in populate_kprobe_blacklist() [all …]
|