Home
last modified time | relevance | path

Searched refs:ent (Results 1 – 17 of 17) sorted by relevance

/kernel/trace/
Dblktrace.c1194 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 …]
Dtrace_functions_graph.c34 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 …]
Dtrace_output.c29 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 …]
Dtrace.h95 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 …]
Dtrace_syscalls.c132 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()
Dtrace_mmiotrace.c167 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()
Dtrace.c940 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 …]
Dtrace_probe.h64 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);\
Dtrace_probe.c34 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()
Dtrace_branch.c145 trace_assign_type(field, iter->ent); in trace_branch_print()
Dtrace_uprobe.c28 struct trace_entry ent; member
1027 entry = (struct uprobe_trace_entry_head *)iter->ent; in print_uprobe_event()
Dtrace_kprobe.c1477 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()
Dtrace_events_synth.c129 struct trace_entry ent; member
357 entry = (struct synth_trace_event *)iter->ent; in print_synth_event()
Dtrace_eprobe.c292 field = (struct eprobe_trace_entry_head *)iter->ent; in print_eprobe_event()
Dtrace_events.c182 offsetof(typeof(ent), item), \
183 sizeof(ent.item), \
204 struct trace_entry ent; in trace_define_common_fields() local
Dtrace_events_user.c778 1, iter->ent, iter->ent_size, true); in user_event_print_trace()
/kernel/
Dkprobes.c1382 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 …]