Home
last modified time | relevance | path

Searched refs:sample_size (Results 1 – 4 of 4) sorted by relevance

/tools/testing/selftests/bpf/progs/
Dstrobemeta.h526 uint64_t sample_size = sample_end - (void *)sample; in on_event() local
528 if (sample_size < sizeof(struct strobelight_bpf_sample)) in on_event()
529 bpf_perf_event_output(ctx, &samples, 0, sample, 1 + sample_size); in on_event()
/tools/perf/util/
Devsel.c192 evsel->sample_size += sizeof(u64); in __perf_evsel__set_sample_bit()
202 evsel->sample_size -= sizeof(u64); in __perf_evsel__reset_sample_bit()
252 evsel->sample_size = __perf_evsel__sample_size(attr->sample_type); in evsel__init()
1923 perf_event__check_size(union perf_event *event, unsigned int sample_size) in perf_event__check_size() argument
1930 if (sample_size + sizeof(event->header) > event->header.size) in perf_event__check_size()
1968 if (perf_event__check_size(event, evsel->sample_size)) in perf_evsel__parse_sample()
2240 if (perf_event__check_size(event, evsel->sample_size)) in perf_evsel__parse_sample_timestamp()
Devsel.h62 unsigned int sample_size; member
/tools/perf/tests/
Dsample-parsing.c276 evsel.sample_size = __perf_evsel__sample_size(sample_type); in do_test()