Home
last modified time | relevance | path

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

/tools/perf/
Dbuiltin-record.c104 static bool switch_output_signal(struct record *rec) in switch_output_signal() argument
106 return rec->switch_output.signal && in switch_output_signal()
110 static bool switch_output_size(struct record *rec) in switch_output_size() argument
112 return rec->switch_output.size && in switch_output_size()
114 (rec->bytes_written >= rec->switch_output.size); in switch_output_size()
117 static bool switch_output_time(struct record *rec) in switch_output_time() argument
119 return rec->switch_output.time && in switch_output_time()
123 static int record__write(struct record *rec, struct mmap *map __maybe_unused, in record__write() argument
126 struct perf_data_file *file = &rec->session->data->file; in record__write()
133 rec->bytes_written += size; in record__write()
[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.c69 jvmtiCompiledMethodLoadInlineRecord *rec; in get_line_numbers() local
84 rec = (jvmtiCompiledMethodLoadInlineRecord *)hdr; in get_line_numbers()
85 for (i = 0; i < rec->numpcs; i++) { in get_line_numbers()
86 c = rec->pcinfo + i; in get_line_numbers()
115 rec = (jvmtiCompiledMethodLoadInlineRecord *)hdr; in get_line_numbers()
116 for (i = 0; i < rec->numpcs; i++) { in get_line_numbers()
117 c = rec->pcinfo + i; in get_line_numbers()
/tools/testing/selftests/x86/
Dprotection_keys.c688 struct pkey_malloc_record *rec = NULL; in record_pkey_malloc() local
691 rec = &pkey_malloc_records[i]; in record_pkey_malloc()
693 if (rec) in record_pkey_malloc()
696 if (!rec) { in record_pkey_malloc()
705 rec = &pkey_malloc_records[nr_pkey_malloc_records]; in record_pkey_malloc()
711 memset(rec + i, 0, sizeof(*rec)); in record_pkey_malloc()
714 (int)(rec - pkey_malloc_records), rec, ptr, size); in record_pkey_malloc()
715 rec->ptr = ptr; in record_pkey_malloc()
716 rec->size = size; in record_pkey_malloc()
717 rec->prot = prot; in record_pkey_malloc()
[all …]
/tools/lib/bpf/
Dlibbpf_internal.h85 #define for_each_btf_ext_rec(seg, sec, i, rec) \ argument
86 for (i = 0, rec = (void *)&(sec)->data; \
88 i++, rec = (void *)rec + (seg)->rec_size)
Dlibbpf.c3117 const struct bpf_offset_reloc *rec; in bpf_core_reloc_offsets() local
3160 for_each_btf_ext_rec(seg, sec, i, rec) { in bpf_core_reloc_offsets()
3161 err = bpf_core_reloc_offset(prog, rec, i, obj->btf, in bpf_core_reloc_offsets()
/tools/build/feature/
Dtest-jvmti-cmlr.c7 jvmtiCompiledMethodLoadInlineRecord rec __attribute__((unused)); in main() local
/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/lib/traceevent/
Devent-parse.h529 int tep_data_type(struct tep_handle *tep, struct tep_record *rec);
530 int tep_data_pid(struct tep_handle *tep, struct tep_record *rec);
531 int tep_data_preempt_count(struct tep_handle *tep, struct tep_record *rec);
532 int tep_data_flags(struct tep_handle *tep, struct tep_record *rec);
Devent-parse.c5310 int tep_data_type(struct tep_handle *tep, struct tep_record *rec) in tep_data_type() argument
5312 return trace_parse_common_type(tep, rec->data); in tep_data_type()
5322 int tep_data_pid(struct tep_handle *tep, struct tep_record *rec) in tep_data_pid() argument
5324 return parse_common_pid(tep, rec->data); in tep_data_pid()
5334 int tep_data_preempt_count(struct tep_handle *tep, struct tep_record *rec) in tep_data_preempt_count() argument
5336 return parse_common_pc(tep, rec->data); in tep_data_preempt_count()
5348 int tep_data_flags(struct tep_handle *tep, struct tep_record *rec) in tep_data_flags() argument
5350 return parse_common_flags(tep, rec->data); in tep_data_flags()
/tools/perf/util/
Dsort.c704 struct tep_record rec = { in get_trace_output() local
717 &seq, &rec, "%s", TEP_PRINT_INFO); in get_trace_output()