/tools/perf/ |
D | builtin-record.c | 126 static bool switch_output_signal(struct record *rec) in switch_output_signal() argument 128 return rec->switch_output.signal && in switch_output_signal() 132 static bool switch_output_size(struct record *rec) in switch_output_size() argument 134 return rec->switch_output.size && in switch_output_size() 136 (rec->bytes_written >= rec->switch_output.size); in switch_output_size() 139 static bool switch_output_time(struct record *rec) in switch_output_time() argument 141 return rec->switch_output.time && in switch_output_time() 145 static bool record__output_max_size_exceeded(struct record *rec) in record__output_max_size_exceeded() argument 147 return rec->output_max_size && in record__output_max_size_exceeded() 148 (rec->bytes_written >= rec->output_max_size); in record__output_max_size_exceeded() [all …]
|
/tools/perf/jvmti/ |
D | jvmti_agent.c | 333 struct jr_code_close rec; in jvmti_close() local 341 rec.p.id = JIT_CODE_CLOSE; in jvmti_close() 342 rec.p.total_size = sizeof(rec); in jvmti_close() 344 rec.p.timestamp = perf_get_timestamp(); in jvmti_close() 346 if (!fwrite(&rec, sizeof(rec), 1, fp)) in jvmti_close() 363 struct jr_code_load rec; in jvmti_write_code() local 379 rec.p.id = JIT_CODE_LOAD; in jvmti_write_code() 380 rec.p.total_size = sizeof(rec) + sym_len; in jvmti_write_code() 381 rec.p.timestamp = perf_get_timestamp(); in jvmti_write_code() 383 rec.code_size = size; in jvmti_write_code() [all …]
|
D | libjvmti.c | 76 jvmtiCompiledMethodLoadInlineRecord *rec; in get_line_numbers() local 90 rec = (jvmtiCompiledMethodLoadInlineRecord *)hdr; in get_line_numbers() 91 nr_total += rec->numpcs; in get_line_numbers() 107 rec = (jvmtiCompiledMethodLoadInlineRecord *)hdr; in get_line_numbers() 108 for (i = 0; i < rec->numpcs; i++) { in get_line_numbers() 109 c = rec->pcinfo + i; in get_line_numbers()
|
/tools/testing/selftests/vm/ |
D | protection_keys.c | 643 struct pkey_malloc_record *rec = NULL; in record_pkey_malloc() local 646 rec = &pkey_malloc_records[i]; in record_pkey_malloc() 648 if (rec) in record_pkey_malloc() 651 if (!rec) { in record_pkey_malloc() 660 rec = &pkey_malloc_records[nr_pkey_malloc_records]; in record_pkey_malloc() 666 memset(rec + i, 0, sizeof(*rec)); in record_pkey_malloc() 669 (int)(rec - pkey_malloc_records), rec, ptr, size); in record_pkey_malloc() 670 rec->ptr = ptr; in record_pkey_malloc() 671 rec->size = size; in record_pkey_malloc() 672 rec->prot = prot; in record_pkey_malloc() [all …]
|
/tools/build/feature/ |
D | test-jvmti-cmlr.c | 7 jvmtiCompiledMethodLoadInlineRecord rec __attribute__((unused)); in main() local
|
/tools/lib/bpf/ |
D | libbpf_internal.h | 307 #define for_each_btf_ext_rec(seg, sec, i, rec) \ argument 308 for (i = 0, rec = (void *)&(sec)->data; \ 310 i++, rec = (void *)rec + (seg)->rec_size)
|
D | btf.c | 4652 struct bpf_func_info_min *rec; in btf_ext_visit_type_ids() local 4654 for_each_btf_ext_rec(seg, sec, i, rec) { in btf_ext_visit_type_ids() 4655 err = visit(&rec->type_id, ctx); in btf_ext_visit_type_ids() 4663 struct bpf_core_relo *rec; in btf_ext_visit_type_ids() local 4665 for_each_btf_ext_rec(seg, sec, i, rec) { in btf_ext_visit_type_ids() 4666 err = visit(&rec->type_id, ctx); in btf_ext_visit_type_ids() 4690 struct bpf_line_info_min *rec; in btf_ext_visit_str_offs() local 4696 for_each_btf_ext_rec(seg, sec, i, rec) { in btf_ext_visit_str_offs() 4697 err = visit(&rec->file_name_off, ctx); in btf_ext_visit_str_offs() 4700 err = visit(&rec->line_off, ctx); in btf_ext_visit_str_offs() [all …]
|
D | libbpf.c | 5193 const struct bpf_core_relo *rec; in bpf_object__relocate_core() local 5248 for_each_btf_ext_rec(seg, sec, i, rec) { in bpf_object__relocate_core() 5249 insn_idx = rec->insn_off / BPF_INSN_SZ; in bpf_object__relocate_core() 5270 err = bpf_core_apply_relo(prog, rec, i, obj->btf, cand_cache); in bpf_object__relocate_core() 5383 void *rec, *rec_end, *new_prog_info; in adjust_prog_btf_ext_info() local 5396 for_each_btf_ext_rec(ext_info, sec, i, rec) { in adjust_prog_btf_ext_info() 5397 __u32 insn_off = *(__u32 *)rec / BPF_INSN_SZ; in adjust_prog_btf_ext_info() 5405 copy_start = rec; in adjust_prog_btf_ext_info() 5406 copy_end = rec + ext_info->rec_size; in adjust_prog_btf_ext_info() 5431 rec = new_prog_info + old_sz; in adjust_prog_btf_ext_info() [all …]
|
/tools/memory-model/ |
D | linux-kernel.bell | 44 let rcu-rscs = let rec 60 let srcu-rscs = let rec
|
D | linux-kernel.cat | 131 let rec rcu-order = rcu-gp | srcu-gp |
|
/tools/testing/selftests/drivers/net/mlxsw/ |
D | sharedbuffer_configuration.py | 115 for rec in self._recs: 116 if rec["objid"].weak_eq(objid): 117 return rec["value"]
|
/tools/lib/traceevent/ |
D | event-parse.h | 533 int tep_data_type(struct tep_handle *tep, struct tep_record *rec); 534 int tep_data_pid(struct tep_handle *tep, struct tep_record *rec); 535 int tep_data_preempt_count(struct tep_handle *tep, struct tep_record *rec); 536 int tep_data_flags(struct tep_handle *tep, struct tep_record *rec);
|
D | event-parse.c | 5836 int tep_data_type(struct tep_handle *tep, struct tep_record *rec) in tep_data_type() argument 5838 return trace_parse_common_type(tep, rec->data); in tep_data_type() 5848 int tep_data_pid(struct tep_handle *tep, struct tep_record *rec) in tep_data_pid() argument 5850 return parse_common_pid(tep, rec->data); in tep_data_pid() 5860 int tep_data_preempt_count(struct tep_handle *tep, struct tep_record *rec) in tep_data_preempt_count() argument 5862 return parse_common_pc(tep, rec->data); in tep_data_preempt_count() 5874 int tep_data_flags(struct tep_handle *tep, struct tep_record *rec) in tep_data_flags() argument 5876 return parse_common_flags(tep, rec->data); in tep_data_flags()
|
/tools/perf/util/ |
D | sort.c | 750 struct tep_record rec = { in get_trace_output() local 763 &seq, &rec, "%s", TEP_PRINT_INFO); in get_trace_output()
|