Lines Matching defs:sample
13 #include "util/sample.h"
50 struct perf_sample sample = {
59 sz = perf_event__sample_event_size(&sample, sample_type, 0);
72 err = perf_event__synthesize_sample(event, sample_type, 0, &sample);
99 if (!samples_same(&sample, &sample_out, sample_type)) {
113 * test__x86_sample_parsing - test X86 specific sample parsing
115 * This function implements a test that synthesizes a sample event, parses it
116 * and then checks that the parsed sample matches the original sample. If the
119 * For now, the PERF_SAMPLE_WEIGHT_STRUCT is the only X86 specific sample type.