Home
last modified time | relevance | path

Searched refs:rec (Results 1 – 13 of 13) sorted by relevance

/tools/perf/
Dbuiltin-record.c123 static bool switch_output_signal(struct record *rec) in switch_output_signal() argument
125 return rec->switch_output.signal && in switch_output_signal()
129 static bool switch_output_size(struct record *rec) in switch_output_size() argument
131 return rec->switch_output.size && in switch_output_size()
133 (rec->bytes_written >= rec->switch_output.size); in switch_output_size()
136 static bool switch_output_time(struct record *rec) in switch_output_time() argument
138 return rec->switch_output.time && in switch_output_time()
142 static bool record__output_max_size_exceeded(struct record *rec) in record__output_max_size_exceeded() argument
144 return rec->output_max_size && in record__output_max_size_exceeded()
145 (rec->bytes_written >= rec->output_max_size); in record__output_max_size_exceeded()
[all …]
/tools/perf/jvmti/
Djvmti_agent.c333 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 …]
Dlibjvmti.c76 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/
Dprotection_keys.c642 struct pkey_malloc_record *rec = NULL; in record_pkey_malloc() local
645 rec = &pkey_malloc_records[i]; in record_pkey_malloc()
647 if (rec) in record_pkey_malloc()
650 if (!rec) { in record_pkey_malloc()
659 rec = &pkey_malloc_records[nr_pkey_malloc_records]; in record_pkey_malloc()
665 memset(rec + i, 0, sizeof(*rec)); in record_pkey_malloc()
668 (int)(rec - pkey_malloc_records), rec, ptr, size); in record_pkey_malloc()
669 rec->ptr = ptr; in record_pkey_malloc()
670 rec->size = size; in record_pkey_malloc()
671 rec->prot = prot; in record_pkey_malloc()
[all …]
/tools/build/feature/
Dtest-jvmti-cmlr.c7 jvmtiCompiledMethodLoadInlineRecord rec __attribute__((unused)); in main() local
/tools/lib/bpf/
Dlibbpf_internal.h175 #define for_each_btf_ext_rec(seg, sec, i, rec) \ argument
176 for (i = 0, rec = (void *)&(sec)->data; \
178 i++, rec = (void *)rec + (seg)->rec_size)
Dlibbpf.c5897 const struct bpf_core_relo *rec; in bpf_object__relocate_core() local
5953 for_each_btf_ext_rec(seg, sec, i, rec) { in bpf_object__relocate_core()
5954 insn_idx = rec->insn_off / BPF_INSN_SZ; in bpf_object__relocate_core()
5975 err = bpf_core_apply_relo(prog, rec, i, obj->btf, in bpf_object__relocate_core()
6062 void *rec, *rec_end, *new_prog_info; in adjust_prog_btf_ext_info() local
6075 for_each_btf_ext_rec(ext_info, sec, i, rec) { in adjust_prog_btf_ext_info()
6076 __u32 insn_off = *(__u32 *)rec / BPF_INSN_SZ; in adjust_prog_btf_ext_info()
6084 copy_start = rec; in adjust_prog_btf_ext_info()
6085 copy_end = rec + ext_info->rec_size; in adjust_prog_btf_ext_info()
6110 rec = new_prog_info + old_sz; in adjust_prog_btf_ext_info()
[all …]
/tools/memory-model/
Dlinux-kernel.bell44 let rcu-rscs = let rec
60 let srcu-rscs = let rec
Dlinux-kernel.cat131 let rec rcu-order = rcu-gp | srcu-gp |
/tools/testing/selftests/drivers/net/mlxsw/
Dsharedbuffer_configuration.py115 for rec in self._recs:
116 if rec["objid"].weak_eq(objid):
117 return rec["value"]
/tools/lib/traceevent/
Devent-parse.h533 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);
Devent-parse.c5836 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/
Dsort.c747 struct tep_record rec = { in get_trace_output() local
760 &seq, &rec, "%s", TEP_PRINT_INFO); in get_trace_output()