/kernel/trace/ |
D | trace_output.c | 29 struct bputs_entry *field; in trace_print_bputs_msg_only() local 31 trace_assign_type(field, entry); in trace_print_bputs_msg_only() 33 trace_seq_puts(s, field->str); in trace_print_bputs_msg_only() 42 struct bprint_entry *field; in trace_print_bprintk_msg_only() local 44 trace_assign_type(field, entry); in trace_print_bprintk_msg_only() 46 trace_seq_bprintf(s, field->fmt, field->buf); in trace_print_bprintk_msg_only() 55 struct print_entry *field; in trace_print_printk_msg_only() local 57 trace_assign_type(field, entry); in trace_print_printk_msg_only() 59 trace_seq_puts(s, field->buf); in trace_print_printk_msg_only() 868 struct ftrace_entry *field; in trace_fn_trace() local [all …]
|
D | trace_events_inject.c | 39 struct ftrace_event_field *field; in parse_field() local 60 field = trace_find_event_field(call, field_name); in parse_field() 62 if (!field) in parse_field() 65 *pf = field; in parse_field() 79 if (is_string_field(field)) in parse_field() 94 if (field->is_signed) in parse_field() 108 if (!is_string_field(field)) in parse_field() 140 struct ftrace_event_field *field; in trace_get_entry_size() local 145 list_for_each_entry(field, head, link) { in trace_get_entry_size() 146 if (field->size + field->offset > size) in trace_get_entry_size() [all …]
|
D | trace_events_synth.c | 567 struct synth_field *field = event->fields[i]; in trace_event_raw_event_synth() local 570 switch (field->size) { in trace_event_raw_event_synth() 662 static void free_synth_field(struct synth_field *field) in free_synth_field() argument 664 kfree(field->type); in free_synth_field() 665 kfree(field->name); in free_synth_field() 666 kfree(field); in free_synth_field() 690 struct synth_field *field; in parse_synth_field() local 716 field = kzalloc(sizeof(*field), GFP_KERNEL); in parse_synth_field() 717 if (!field) in parse_synth_field() 725 field->name = kmemdup_nul(field_name, len, GFP_KERNEL); in parse_synth_field() [all …]
|
D | trace_events_hist.c | 86 typedef u64 (*hist_field_fn_t) (struct hist_field *field, 124 struct ftrace_event_field *field; member 169 static u64 hist_field_none(struct hist_field *field, in hist_field_none() argument 178 static u64 hist_field_const(struct hist_field *field, in hist_field_const() argument 184 return field->constant; in hist_field_const() 187 static u64 hist_field_counter(struct hist_field *field, in hist_field_counter() argument 202 char *addr = (char *)(event + hist_field->field->offset); in hist_field_string() 213 u32 str_item = *(u32 *)(event + hist_field->field->offset); in hist_field_dynstring() 226 char **addr = (char **)(event + hist_field->field->offset); in hist_field_pstring() 416 type *addr = (type *)(event + hist_field->field->offset); \ [all …]
|
D | trace_eprobe.c | 228 struct ftrace_event_field *field; in trace_eprobe_tp_arg_update() local 233 list_for_each_entry(field, head, link) { in trace_eprobe_tp_arg_update() 234 if (!strcmp(parg->code->data, field->name)) { in trace_eprobe_tp_arg_update() 236 parg->code->data = field; in trace_eprobe_tp_arg_update() 259 struct eprobe_trace_entry_head field; in eprobe_event_define_fields() local 268 return traceprobe_define_arg_fields(event_call, sizeof(field), tp); in eprobe_event_define_fields() 282 struct eprobe_trace_entry_head *field; in print_eprobe_event() local 288 field = (struct eprobe_trace_entry_head *)iter->ent; in print_eprobe_event() 296 probed_event = ftrace_find_event(field->type); in print_eprobe_event() 302 trace_seq_printf(s, "%u", field->type); in print_eprobe_event() [all …]
|
D | trace_events.c | 87 struct ftrace_event_field *field; in __find_event_field() local 89 list_for_each_entry(field, head, link) { in __find_event_field() 90 if (!strcmp(field->name, name)) in __find_event_field() 91 return field; in __find_event_field() 100 struct ftrace_event_field *field; in trace_find_event_field() local 104 field = __find_event_field(head, name); in trace_find_event_field() 105 if (field) in trace_find_event_field() 106 return field; in trace_find_event_field() 108 field = __find_event_field(&ftrace_generic_fields, name); in trace_find_event_field() 109 if (field) in trace_find_event_field() [all …]
|
D | trace_events_filter.c | 1228 struct ftrace_event_field *field; in parse_pred() local 1260 field = trace_find_event_field(call, field_name); in parse_pred() 1262 if (!field) { in parse_pred() 1299 pred->field = field; in parse_pred() 1300 pred->offset = field->offset; in parse_pred() 1311 if (strcmp(field->name, "ip") != 0) { in parse_pred() 1364 if (!is_string_field(field)) { in parse_pred() 1392 if (field->filter_type == FILTER_COMM) { in parse_pred() 1395 } else if (field->filter_type == FILTER_STATIC_STRING) { in parse_pred() 1397 pred->regex.field_len = field->size; in parse_pred() [all …]
|
D | trace_kprobe.c | 1053 const char *field; in __kprobe_event_gen_cmd_start() local 1055 field = va_arg(args, const char *); in __kprobe_event_gen_cmd_start() 1056 if (!field) in __kprobe_event_gen_cmd_start() 1064 arg.str = field; in __kprobe_event_gen_cmd_start() 1104 const char *field; in __kprobe_event_add_fields() local 1106 field = va_arg(args, const char *); in __kprobe_event_add_fields() 1107 if (!field) in __kprobe_event_add_fields() 1115 arg.str = field; in __kprobe_event_add_fields() 1480 struct kprobe_trace_entry_head *field; in print_kprobe_event() local 1484 field = (struct kprobe_trace_entry_head *)iter->ent; in print_kprobe_event() [all …]
|
D | trace_branch.c | 143 struct trace_branch *field; in trace_branch_print() local 145 trace_assign_type(field, iter->ent); in trace_branch_print() 148 field->correct ? " ok " : " MISS ", in trace_branch_print() 149 field->func, in trace_branch_print() 150 field->file, in trace_branch_print() 151 field->line); in trace_branch_print()
|
D | trace_mmiotrace.c | 168 struct trace_mmiotrace_rw *field; in mmio_print_rw() local 175 trace_assign_type(field, entry); in mmio_print_rw() 176 rw = &field->rw; in mmio_print_rw() 213 struct trace_mmiotrace_map *field; in mmio_print_map() local 220 trace_assign_type(field, entry); in mmio_print_map() 221 m = &field->map; in mmio_print_map()
|
D | trace_functions_graph.c | 863 print_graph_entry(struct ftrace_graph_ent_entry *field, struct trace_seq *s, in print_graph_entry() argument 867 struct ftrace_graph_ent *call = &field->graph_ent; in print_graph_entry() 877 leaf_ret = get_return_for_leaf(iter, field); in print_graph_entry() 879 ret = print_graph_entry_leaf(iter, field, leaf_ret, s, flags); in print_graph_entry() 881 ret = print_graph_entry_nested(iter, field, s, cpu, flags); in print_graph_entry() 1039 struct ftrace_graph_ent_entry *field; in print_graph_function_flags() local 1056 field = &data->ent; in print_graph_function_flags() 1058 ret = print_graph_entry(field, s, iter, flags); in print_graph_function_flags() 1076 trace_assign_type(field, entry); in print_graph_function_flags() 1077 saved = *field; in print_graph_function_flags() [all …]
|
D | tracing_map.c | 864 struct tracing_map_field *field; in cmp_entries_sum() local 877 field = &elt_a->fields[sort_key->field_idx]; in cmp_entries_sum() 878 cmp_fn = field->cmp_fn; in cmp_entries_sum() 895 struct tracing_map_field *field; in cmp_entries_key() local 908 field = &elt_a->fields[sort_key->field_idx]; in cmp_entries_key() 910 cmp_fn = field->cmp_fn; in cmp_entries_key() 912 val_a = elt_a->key + field->offset; in cmp_entries_key() 913 val_b = elt_b->key + field->offset; in cmp_entries_key()
|
D | trace_probe_tmpl.h | 259 u8 *data, void *field) in print_probe_args() argument 269 if (!a->type->print(s, data + a->offset, field)) in print_probe_args() 276 if (!a->type->print(s, p, field)) in print_probe_args()
|
D | trace.h | 1467 struct ftrace_event_field *field; member 1473 static inline bool is_string_field(struct ftrace_event_field *field) in is_string_field() argument 1475 return field->filter_type == FILTER_DYN_STRING || in is_string_field() 1476 field->filter_type == FILTER_STATIC_STRING || in is_string_field() 1477 field->filter_type == FILTER_PTR_STRING || in is_string_field() 1478 field->filter_type == FILTER_COMM; in is_string_field() 1481 static inline bool is_function_field(struct ftrace_event_field *field) in is_function_field() argument 1483 return field->filter_type == FILTER_TRACE_FN; in is_function_field()
|
D | trace_probe.h | 47 offsetof(typeof(field), item), \ 48 sizeof(field.item), is_signed, \
|
D | ring_buffer.c | 377 struct buffer_data_page field; in ring_buffer_print_page_header() local 381 (unsigned int)sizeof(field.time_stamp), in ring_buffer_print_page_header() 386 (unsigned int)offsetof(typeof(field), commit), in ring_buffer_print_page_header() 387 (unsigned int)sizeof(field.commit), in ring_buffer_print_page_header() 392 (unsigned int)offsetof(typeof(field), commit), in ring_buffer_print_page_header() 398 (unsigned int)offsetof(typeof(field), data), in ring_buffer_print_page_header()
|
D | trace_uprobe.c | 1184 struct uprobe_trace_entry_head field; in uprobe_event_define_fields() local
|
D | Kconfig | 418 ACTIVATION ID field serves to relate the irq execution to its
|
/kernel/ |
D | module.c | 721 #define MODINFO_ATTR(field) \ argument 722 static void setup_modinfo_##field(struct module *mod, const char *s) \ 724 mod->field = kstrdup(s, GFP_KERNEL); \ 726 static ssize_t show_modinfo_##field(struct module_attribute *mattr, \ 729 return scnprintf(buffer, PAGE_SIZE, "%s\n", mk->mod->field); \ 731 static int modinfo_##field##_exists(struct module *mod) \ 733 return mod->field != NULL; \ 735 static void free_modinfo_##field(struct module *mod) \ 737 kfree(mod->field); \ 738 mod->field = NULL; \ [all …]
|
D | signal.c | 4690 #define CHECK_OFFSET(field) \ in siginfo_buildtime_checks() argument 4691 BUILD_BUG_ON(offsetof(siginfo_t, field) != offsetof(kernel_siginfo_t, field)) in siginfo_buildtime_checks()
|