| /tools/perf/util/ |
| A D | s390-sample-raw.c | 49 size_t len = sample->raw_size, offset = 0; in s390_cpumcfdg_testctr() 182 size_t i, len = sample->raw_size, offset = 0; in s390_cpumcfdg_dump() 235 size_t len = sample->raw_size; in s390_pai_all_test() 244 size_t len = sample->raw_size, offset = 0; in s390_pai_all_dump() 300 if (!sample->raw_size || !sample->raw_data) in evlist__s390_sample_raw()
|
| A D | bpf_off_cpu.c | 321 u32 raw_size; in off_cpu_write() local 404 raw_size = i * sizeof(u64) + sizeof(u32); /* 4 bytes for alignment */ in off_cpu_write() 405 memcpy(raw_data, &raw_size, sizeof(raw_size)); in off_cpu_write()
|
| A D | sample.h | 94 u32 raw_size; member
|
| A D | data-convert-bt.c | 450 unsigned int raw_size = sample->raw_size; in add_bpf_output_values() local 451 unsigned int nr_elements = raw_size / sizeof(u32); in add_bpf_output_values() 455 if (nr_elements * sizeof(u32) != raw_size) in add_bpf_output_values() 457 raw_size, nr_elements * sizeof(u32) - raw_size); in add_bpf_output_values()
|
| A D | amd-sample-raw.c | 314 if (event->header.type != PERF_RECORD_SAMPLE || !sample->raw_size) in evlist__amd_sample_raw()
|
| A D | event.h | 264 #define perf_sample__bad_synth_size(s, d) ((s)->raw_size < sizeof(d) - 4)
|
| A D | s390-cpumsf.c | 230 size_t n = fwrite(sample->raw_data, sample->raw_size - 4, 1, in s390_cpumcf_dumpctr() 936 sample->raw_size) { in s390_cpumsf_process_event()
|
| A D | intel-pt.c | 1963 sample.raw_size = perf_synth__raw_size(raw); in intel_pt_synth_ptwrite_sample() 1995 sample.raw_size = perf_synth__raw_size(raw); in intel_pt_synth_cbr_sample() 2025 sample.raw_size = perf_synth__raw_size(raw); in intel_pt_synth_psb_sample() 2054 sample.raw_size = perf_synth__raw_size(raw); in intel_pt_synth_mwait_sample() 2083 sample.raw_size = perf_synth__raw_size(raw); in intel_pt_synth_pwre_sample() 2112 sample.raw_size = perf_synth__raw_size(raw); in intel_pt_synth_exstop_sample() 2141 sample.raw_size = perf_synth__raw_size(raw); in intel_pt_synth_pwrx_sample() 2637 sample.raw_size = perf_synth__raw_size(raw) + in intel_pt_synth_events_sample() 2675 sample.raw_size = perf_synth__raw_size(raw); in intel_pt_synth_iflag_chg_sample()
|
| A D | hist.c | 571 he->raw_data = memdup(he->raw_data, he->raw_size); in hist_entry__init() 844 .raw_size = sample->raw_size, in __hists__add_entry() 1244 .raw_size = sample->raw_size, in iter_add_next_cumulative_entry()
|
| A D | synthetic-events.c | 1508 result += sample->raw_size; in perf_event__sample_event_size() 1705 *array32 = sample->raw_size; in perf_event__synthesize_sample() 1708 memcpy(array32, sample->raw_data, sample->raw_size); in perf_event__synthesize_sample() 1709 array = (void *)(array32 + (sample->raw_size / sizeof(u32))); in perf_event__synthesize_sample()
|
| A D | dlfilter.c | 542 ASSIGN(raw_size); in dlfilter__do_filter_event()
|
| A D | evsel.c | 2954 u32 max_size = data->raw_size, *p32; in __set_offcpu_sample() 3154 data->raw_size = u.val32[0]; in evsel__parse_sample() 3161 mem_bswap_64((void *) array, data->raw_size); in evsel__parse_sample() 3165 OVERFLOW_CHECK(array, data->raw_size, max_size); in evsel__parse_sample() 3167 array = (void *)array + data->raw_size; in evsel__parse_sample()
|
| A D | hist.h | 302 u32 raw_size; member
|
| /tools/lib/bpf/ |
| A D | bpf_gen_internal.h | 58 void bpf_gen__load_btf(struct bpf_gen *gen, const void *raw_data, __u32 raw_size);
|
| A D | btf.c | 38 __u32 raw_size; member 251 if (btf->raw_size < hdr->hdr_len) { in btf_parse_hdr() 253 hdr->hdr_len, btf->raw_size); in btf_parse_hdr() 257 meta_left = btf->raw_size - hdr->hdr_len; in btf_parse_hdr() 961 munmap(btf->raw_data, btf->raw_size); in btf_free_raw_data() 1020 btf->raw_data = calloc(1, btf->raw_size); in btf_new_empty() 1080 btf->raw_size = size; in btf_new() 1443 __u32 buf_sz = 0, raw_size; in btf_load_into_kernel() local 1459 btf->raw_size = raw_size; in btf_load_into_kernel() 1549 *size = btf->raw_size; in btf_get_raw_data() [all …]
|
| /tools/perf/tests/ |
| A D | sample-parsing.c | 108 COMP(raw_size); in samples_same() 109 if (memcmp(s1->raw_data, s2->raw_data, s1->raw_size)) { in samples_same() 257 .raw_size = sizeof(raw_data), in do_test()
|
| /tools/perf/include/perf/ |
| A D | perf_dlfilter.h | 64 __u32 raw_size; /* Refer PERF_SAMPLE_RAW in <linux/perf_event.h> */ member
|
| /tools/include/uapi/linux/ |
| A D | fscrypt.h | 129 __u32 raw_size; member
|
| /tools/perf/dlfilters/ |
| A D | dlfilter-test-api-v0.c | 63 __u32 raw_size; /* Refer PERF_SAMPLE_RAW in <linux/perf_event.h> */ member
|
| A D | dlfilter-test-api-v2.c | 69 __u32 raw_size; /* Refer PERF_SAMPLE_RAW in <linux/perf_event.h> */ member
|
| /tools/perf/util/scripting-engines/ |
| A D | trace-event-perl.c | 453 XPUSHs(sv_2mortal(newSVpvn((const char *)sample->raw_data, sample->raw_size))); in perl_process_event_generic()
|
| A D | trace-event-python.c | 880 (const char *)sample->raw_data, sample->raw_size)); in get_perf_sample_dict() 1349 tuple_set_bytes(t, 2, es->sample->raw_data, es->sample->raw_size); in python_export_synth()
|
| /tools/perf/Documentation/ |
| A D | perf-dlfilter.txt | 109 __u32 raw_size; /* Refer PERF_SAMPLE_RAW in <linux/perf_event.h> */
|
| /tools/perf/ |
| A D | builtin-trace.c | 2734 *augmented_args_size = sample->raw_size - args_size; in syscall__augmented_args() 3157 binary__fprintf(sample->raw_data, sample->raw_size, 8, in bpf_output__fprintf() 3294 sample->raw_data, sample->raw_size, in trace__event_handler() 3621 sample->cpu, sample->raw_size); in trace__handle_event()
|
| A D | builtin-kmem.c | 760 .size = sample->raw_size, in parse_gfp_flags()
|