Home
last modified time | relevance | path

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

12

/tools/perf/util/
A Ds390-sample-raw.c49 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 Dbpf_off_cpu.c321 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 Dsample.h94 u32 raw_size; member
A Ddata-convert-bt.c450 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 Damd-sample-raw.c314 if (event->header.type != PERF_RECORD_SAMPLE || !sample->raw_size) in evlist__amd_sample_raw()
A Devent.h264 #define perf_sample__bad_synth_size(s, d) ((s)->raw_size < sizeof(d) - 4)
A Ds390-cpumsf.c230 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 Dintel-pt.c1963 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 Dhist.c571 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 Dsynthetic-events.c1508 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 Ddlfilter.c542 ASSIGN(raw_size); in dlfilter__do_filter_event()
A Devsel.c2954 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 Dhist.h302 u32 raw_size; member
/tools/lib/bpf/
A Dbpf_gen_internal.h58 void bpf_gen__load_btf(struct bpf_gen *gen, const void *raw_data, __u32 raw_size);
A Dbtf.c38 __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 Dsample-parsing.c108 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 Dperf_dlfilter.h64 __u32 raw_size; /* Refer PERF_SAMPLE_RAW in <linux/perf_event.h> */ member
/tools/include/uapi/linux/
A Dfscrypt.h129 __u32 raw_size; member
/tools/perf/dlfilters/
A Ddlfilter-test-api-v0.c63 __u32 raw_size; /* Refer PERF_SAMPLE_RAW in <linux/perf_event.h> */ member
A Ddlfilter-test-api-v2.c69 __u32 raw_size; /* Refer PERF_SAMPLE_RAW in <linux/perf_event.h> */ member
/tools/perf/util/scripting-engines/
A Dtrace-event-perl.c453 XPUSHs(sv_2mortal(newSVpvn((const char *)sample->raw_data, sample->raw_size))); in perl_process_event_generic()
A Dtrace-event-python.c880 (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 Dperf-dlfilter.txt109 __u32 raw_size; /* Refer PERF_SAMPLE_RAW in <linux/perf_event.h> */
/tools/perf/
A Dbuiltin-trace.c2734 *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 Dbuiltin-kmem.c760 .size = sample->raw_size, in parse_gfp_flags()

Completed in 86 milliseconds

12