Home | History | Annotate | Download | only in tests

Lines Matching full:sample

155 	struct perf_sample sample = {
193 sample.read.group.nr = 4;
194 sample.read.group.values = values;
196 sample.read.one.value = 0x08789faeb786aa87ULL;
197 sample.read.one.id = 99;
200 sz = perf_event__sample_event_size(&sample, sample_type,
216 &sample, false);
243 if (!samples_same(&sample, &sample_out, sample_type,
259 * test__sample_parsing - test sample parsing.
261 * This function implements a test that synthesizes a sample event, parses it
262 * and then checks that the parsed sample matches the original sample. The test
263 * checks sample format bits separately and together. If the test passes %0 is
275 * Fail the test if it has not been updated when new sample format bits
279 pr_debug("sample format has changed - test needs updating\n");
283 /* Test each sample format bit separately */
306 /* Test all sample format bits together */