/kernel/trace/ |
D | blktrace.c | 1073 const struct blk_io_trace *te_blk_io_trace(const struct trace_entry *ent) in te_blk_io_trace() argument 1075 return (const struct blk_io_trace *)ent; in te_blk_io_trace() 1078 static inline const void *pdu_start(const struct trace_entry *ent) in pdu_start() argument 1080 return te_blk_io_trace(ent) + 1; in pdu_start() 1083 static inline u32 t_action(const struct trace_entry *ent) in t_action() argument 1085 return te_blk_io_trace(ent)->action; in t_action() 1088 static inline u32 t_bytes(const struct trace_entry *ent) in t_bytes() argument 1090 return te_blk_io_trace(ent)->bytes; in t_bytes() 1093 static inline u32 t_sec(const struct trace_entry *ent) in t_sec() argument 1095 return te_blk_io_trace(ent)->bytes >> 9; in t_sec() [all …]
|
D | trace_output.c | 43 struct trace_entry *entry = iter->ent; in trace_print_bputs_msg_only() 59 struct trace_entry *entry = iter->ent; in trace_print_bprintk_msg_only() 75 struct trace_entry *entry = iter->ent; in trace_print_printk_msg_only() 426 entry = iter->ent; 700 struct trace_entry *entry = iter->ent; 749 struct trace_entry *entry = iter->ent, 962 if (!trace_seq_printf(&iter->seq, "type: %d\n", iter->ent->type)) 975 trace_assign_type(field, iter->ent); 1002 trace_assign_type(field, iter->ent); 1018 trace_assign_type(field, iter->ent); [all …]
|
D | trace.h | 67 struct trace_entry ent; \ 90 struct trace_entry ent; member 96 struct trace_entry ent; member 102 struct trace_entry ent; member 107 struct trace_entry ent; member 268 #define trace_assign_type(var, ent) \ argument 270 IF_ASSIGN(var, ent, struct ftrace_entry, TRACE_FN); \ 271 IF_ASSIGN(var, ent, struct ctx_switch_entry, 0); \ 272 IF_ASSIGN(var, ent, struct stack_entry, TRACE_STACK); \ 273 IF_ASSIGN(var, ent, struct userstack_entry, TRACE_USER_STACK);\ [all …]
|
D | trace_functions_graph.c | 33 struct ftrace_graph_ent_entry ent; member 300 struct ftrace_graph_ent ent = { in __trace_graph_function() local 311 __trace_graph_entry(tr, &ent, flags, pc); in __trace_graph_function() 553 curr = &data->ent; in get_return_for_leaf() 583 data->ent = *curr; in get_return_for_leaf() 589 if (next->ent.type == TRACE_GRAPH_RET) in get_return_for_leaf() 592 data->ret.ent.type = next->ent.type; in get_return_for_leaf() 596 if (next->ent.type != TRACE_GRAPH_RET) in get_return_for_leaf() 599 if (curr->ent.pid != next->ent.pid || in get_return_for_leaf() 886 struct trace_entry *ent = iter->ent; in print_graph_prologue() local [all …]
|
D | trace_syscalls.c | 114 struct trace_entry *ent = iter->ent; in print_syscall_enter() local 119 trace = (typeof(trace))ent; in print_syscall_enter() 126 if (entry->enter_event->event.type != ent->type) { in print_syscall_enter() 167 struct trace_entry *ent = iter->ent; in print_syscall_exit() local 173 trace = (typeof(trace))ent; in print_syscall_exit() 182 if (entry->exit_event->event.type != ent->type) { in print_syscall_exit()
|
D | trace_mmiotrace.c | 175 struct trace_entry *entry = iter->ent; in mmio_print_rw() 222 struct trace_entry *entry = iter->ent; in mmio_print_map() 258 struct trace_entry *entry = iter->ent; in mmio_print_mark() 277 switch (iter->ent->type) { in mmio_print_line()
|
D | trace.c | 1457 struct trace_entry *ent = ring_buffer_event_data(event); in trace_buffer_lock_reserve() local 1459 tracing_generic_entry_update(ent, flags, pc); in trace_buffer_lock_reserve() 1460 ent->type = type; in trace_buffer_lock_reserve() 2094 struct trace_entry *ent, *next = NULL; in __find_next_entry() local 2109 ent = peek_next_entry(iter, cpu_file, ent_ts, missing_events); in __find_next_entry() 2113 return ent; in __find_next_entry() 2121 ent = peek_next_entry(iter, cpu, &ts, &lost_events); in __find_next_entry() 2126 if (ent && (!next || ts < next_ts)) { in __find_next_entry() 2127 next = ent; in __find_next_entry() 2159 iter->ent = __find_next_entry(iter, &iter->cpu, in trace_find_next_entry_inc() [all …]
|
D | trace_probe.c | 46 void *data, void *ent)\ 67 static inline void *get_loc_data(u32 *dl, void *ent) in get_loc_data() argument 69 return (u8 *)ent + get_rloc_offs(*dl); in get_loc_data() 79 void *data, void *ent) in PRINT_TYPE_FUNC_NAME() 87 (const char *)get_loc_data(data, ent)); in PRINT_TYPE_FUNC_NAME()
|
D | trace_branch.c | 152 trace_assign_type(field, iter->ent); in trace_branch_print()
|
D | trace_uprobe.c | 32 struct trace_entry ent; member 570 entry = (struct uprobe_trace_entry_head *)iter->ent; in print_uprobe_event()
|
D | trace_events.c | 142 offsetof(typeof(ent), item), \ 143 sizeof(ent.item), \ 151 struct trace_entry ent; in trace_define_common_fields() local
|
D | trace_kprobe.c | 975 field = (struct kprobe_trace_entry_head *)iter->ent; in print_kprobe_event() 1011 field = (struct kretprobe_trace_entry_head *)iter->ent; in print_kretprobe_event()
|
/kernel/ |
D | cgroup.c | 1994 struct task_and_cgroup ent; in cgroup_attach_task() local 2002 ent.task = tsk; in cgroup_attach_task() 2003 ent.cgrp = task_cgroup_from_root(tsk, root); in cgroup_attach_task() 2005 if (ent.cgrp == cgrp) in cgroup_attach_task() 2011 retval = flex_array_put(group, i, &ent, GFP_ATOMIC); in cgroup_attach_task()
|