Home
last modified time | relevance | path

Searched refs:raw_size (Results 1 – 17 of 17) sorted by relevance

/tools/perf/tests/
Dsample-parsing.c93 COMP(raw_size); in samples_same()
94 if (memcmp(s1->raw_data, s2->raw_data, s1->raw_size)) { in samples_same()
196 .raw_size = sizeof(raw_data), in do_test()
/tools/perf/util/
Ds390-sample-raw.c48 size_t len = sample->raw_size, offset = 0; in s390_cpumcfdg_testctr()
158 size_t i, len = sample->raw_size, offset = 0; in s390_cpumcfdg_dump()
Devent.h130 u32 raw_size; member
273 #define perf_sample__bad_synth_size(s, d) ((s)->raw_size < sizeof(d) - 4)
Ddata-convert-bt.c440 unsigned int raw_size = sample->raw_size; in add_bpf_output_values() local
441 unsigned int nr_elements = raw_size / sizeof(u32); in add_bpf_output_values()
445 if (nr_elements * sizeof(u32) != raw_size) in add_bpf_output_values()
447 raw_size, nr_elements * sizeof(u32) - raw_size); in add_bpf_output_values()
Dsort.h140 u32 raw_size; member
Ds390-cpumsf.c229 size_t n = fwrite(sample->raw_data, sample->raw_size - 4, 1, in s390_cpumcf_dumpctr()
933 sample->raw_size) { in s390_cpumsf_process_event()
Dsynthetic-events.c1181 result += sample->raw_size; in perf_event__sample_event_size()
1332 u.val32[0] = sample->raw_size; in perf_event__synthesize_sample()
1336 memcpy(array, sample->raw_data, sample->raw_size); in perf_event__synthesize_sample()
1337 array = (void *)array + sample->raw_size; in perf_event__synthesize_sample()
Dhist.c456 he->raw_data = memdup(he->raw_data, he->raw_size); in hist_entry__init()
714 .raw_size = sample->raw_size, in __hists__add_entry()
1071 .raw_size = sample->raw_size, in iter_add_next_cumulative_entry()
Dintel-pt.c1439 sample.raw_size = perf_synth__raw_size(raw); in intel_pt_synth_ptwrite_sample()
1469 sample.raw_size = perf_synth__raw_size(raw); in intel_pt_synth_cbr_sample()
1494 sample.raw_size = perf_synth__raw_size(raw); in intel_pt_synth_mwait_sample()
1519 sample.raw_size = perf_synth__raw_size(raw); in intel_pt_synth_pwre_sample()
1544 sample.raw_size = perf_synth__raw_size(raw); in intel_pt_synth_exstop_sample()
1569 sample.raw_size = perf_synth__raw_size(raw); in intel_pt_synth_pwrx_sample()
Devsel.c2103 data->raw_size = u.val32[0]; in perf_evsel__parse_sample()
2110 mem_bswap_64((void *) array, data->raw_size); in perf_evsel__parse_sample()
2114 OVERFLOW_CHECK(array, data->raw_size, max_size); in perf_evsel__parse_sample()
2116 array = (void *)array + data->raw_size; in perf_evsel__parse_sample()
Dsort.c706 .size = he->raw_size, in get_trace_output()
713 tep_print_fields(&seq, he->raw_data, he->raw_size, in get_trace_output()
/tools/include/uapi/linux/
Dfscrypt.h114 __u32 raw_size; member
/tools/perf/util/scripting-engines/
Dtrace-event-perl.c447 XPUSHs(sv_2mortal(newSVpvn((const char *)sample->raw_data, sample->raw_size))); in perl_process_event_generic()
Dtrace-event-python.c767 (const char *)sample->raw_data, sample->raw_size)); in get_perf_sample_dict()
1167 tuple_set_bytes(t, 2, es->sample->raw_data, es->sample->raw_size); in python_export_synth()
/tools/perf/
Dbuiltin-trace.c1986 *augmented_args_size = sample->raw_size - args_size; in syscall__augmented_args()
2393 binary__fprintf(sample->raw_data, sample->raw_size, 8, in bpf_output__fprintf()
2459 sample->raw_data, sample->raw_size, in trace__event_handler()
2753 sample->cpu, sample->raw_size); in trace__handle_event()
Dbuiltin-kmem.c741 .size = sample->raw_size, in parse_gfp_flags()
Dbuiltin-script.c1502 unsigned int nr_bytes = sample->raw_size; in perf_sample__fprintf_bpf_output()
1852 sample->raw_data, sample->raw_size, fp); in process_event()