Lines Matching defs:sample
199 struct perf_sample sample = {
260 sample.read.group.nr = 4;
261 sample.read.group.values = values;
263 sample.read.one.value = 0x08789faeb786aa87ULL;
264 sample.read.one.id = 99;
267 sz = perf_event__sample_event_size(&sample, sample_type, read_format);
281 &sample);
308 if (!samples_same(&sample, &sample_out, sample_type, read_format)) {
323 * test__sample_parsing - test sample parsing.
325 * This function implements a test that synthesizes a sample event, parses it
326 * and then checks that the parsed sample matches the original sample. The test
327 * checks sample format bits separately and together. If the test passes %0 is
339 * Fail the test if it has not been updated when new sample format bits
344 pr_debug("sample format has changed, some new PERF_SAMPLE_ bit was introduced - test needs updating\n");
348 /* Test each sample format bit separately */
373 /* Test all sample format bits together */