Searched refs:field_type (Results 1 – 2 of 2) sorted by relevance
/kernel/trace/ |
D | trace_events_synth.c | 688 static int check_field_version(const char *prefix, const char *field_type, in check_field_version() argument 708 const char *prefix = NULL, *field_type = argv[0], *field_name, *array; in parse_synth_field() local 714 if (!strcmp(field_type, "unsigned")) { in parse_synth_field() 716 synth_err(SYNTH_ERR_INCOMPLETE_TYPE, errpos(field_type)); in parse_synth_field() 720 field_type = argv[1]; in parse_synth_field() 729 synth_err(SYNTH_ERR_INVALID_FIELD, errpos(field_type)); in parse_synth_field() 733 *field_version = check_field_version(prefix, field_type, field_name); in parse_synth_field() 754 len = strlen(field_type) + 1; in parse_synth_field() 769 seq_buf_puts(&s, field_type); in parse_synth_field() 782 synth_err(SYNTH_ERR_INVALID_TYPE, errpos(field_type)); in parse_synth_field() [all …]
|
/kernel/bpf/ |
D | btf.c | 3269 enum btf_field_type field_type, in btf_find_struct_field() argument 3292 switch (field_type) { in btf_find_struct_field() 3321 enum btf_field_type field_type, in btf_find_datasec_var() argument 3342 switch (field_type) { in btf_find_datasec_var() 3370 enum btf_field_type field_type, in btf_find_field() argument 3376 switch (field_type) { in btf_find_field() 3397 return btf_find_struct_field(btf, t, name, sz, align, field_type, info, info_cnt); in btf_find_field() 3399 return btf_find_datasec_var(btf, t, name, sz, align, field_type, info, info_cnt); in btf_find_field()
|