Lines Matching full:sample
12 * sample was taken from.
28 #include "sample-raw.h"
31 #include "util/sample.h"
47 static bool s390_cpumcfdg_testctr(struct perf_sample *sample) in s390_cpumcfdg_testctr() argument
49 size_t len = sample->raw_size, offset = 0; in s390_cpumcfdg_testctr()
50 unsigned char *buf = sample->raw_data; in s390_cpumcfdg_testctr()
64 * raw data block in the sample causes the perf tool in s390_cpumcfdg_testctr()
66 * of the sample a multiple of eight bytes again. in s390_cpumcfdg_testctr()
180 static void s390_cpumcfdg_dump(struct perf_pmu *pmu, struct perf_sample *sample) in s390_cpumcfdg_dump() argument
182 size_t i, len = sample->raw_size, offset = 0; in s390_cpumcfdg_dump()
183 unsigned char *buf = sample->raw_data; in s390_cpumcfdg_dump()
233 static bool s390_pai_all_test(struct perf_sample *sample) in s390_pai_all_test() argument
235 size_t len = sample->raw_size; in s390_pai_all_test()
242 static void s390_pai_all_dump(struct evsel *evsel, struct perf_sample *sample) in s390_pai_all_dump() argument
244 size_t len = sample->raw_size, offset = 0; in s390_pai_all_dump()
245 unsigned char *p = sample->raw_data; in s390_pai_all_dump()
287 struct perf_sample *sample) in evlist__s390_sample_raw() argument
299 /* Check for raw data in sample */ in evlist__s390_sample_raw()
300 if (!sample->raw_size || !sample->raw_data) in evlist__s390_sample_raw()
307 if (!s390_cpumcfdg_testctr(sample)) in evlist__s390_sample_raw()
310 s390_cpumcfdg_dump(evsel->pmu, sample); in evlist__s390_sample_raw()
325 if (!s390_pai_all_test(sample)) { in evlist__s390_sample_raw()
330 s390_pai_all_dump(evsel, sample); in evlist__s390_sample_raw()