Lines Matching refs:sample_fields

353                               const uint64_t sample_fields,  in ReadPerfSampleFromData()  argument
376 if (sample_fields & PERF_SAMPLE_IDENTIFIER) { in ReadPerfSampleFromData()
382 if (sample_fields & PERF_SAMPLE_IP) { in ReadPerfSampleFromData()
387 if (sample_fields & PERF_SAMPLE_TID) { in ReadPerfSampleFromData()
394 if (sample_fields & PERF_SAMPLE_TIME) { in ReadPerfSampleFromData()
399 if (sample_fields & PERF_SAMPLE_ADDR) { in ReadPerfSampleFromData()
404 if (sample_fields & PERF_SAMPLE_ID) { in ReadPerfSampleFromData()
409 if (sample_fields & PERF_SAMPLE_STREAM_ID) { in ReadPerfSampleFromData()
414 if (sample_fields & PERF_SAMPLE_CPU) { in ReadPerfSampleFromData()
423 if (sample_fields & PERF_SAMPLE_IDENTIFIER) { in ReadPerfSampleFromData()
433 if (sample_fields & PERF_SAMPLE_PERIOD) { in ReadPerfSampleFromData()
438 if (sample_fields & PERF_SAMPLE_READ) { in ReadPerfSampleFromData()
447 if (sample_fields & PERF_SAMPLE_CALLCHAIN) { in ReadPerfSampleFromData()
453 if (sample_fields & PERF_SAMPLE_RAW) { in ReadPerfSampleFromData()
459 if (sample_fields & PERF_SAMPLE_BRANCH_STACK) { in ReadPerfSampleFromData()
470 if (sample_fields & kUnimplementedSampleFields) { in ReadPerfSampleFromData()
472 << std::hex << (sample_fields & kUnimplementedSampleFields); in ReadPerfSampleFromData()
475 if (sample_fields & ~(PERF_SAMPLE_MAX-1)) { in ReadPerfSampleFromData()
477 << std::hex << (sample_fields & ~(PERF_SAMPLE_MAX-1)); in ReadPerfSampleFromData()
485 const uint64_t sample_fields, in WritePerfSampleToData() argument
503 if (sample_fields & PERF_SAMPLE_IDENTIFIER) { in WritePerfSampleToData()
509 if (sample_fields & PERF_SAMPLE_IP) { in WritePerfSampleToData()
514 if (sample_fields & PERF_SAMPLE_TID) { in WritePerfSampleToData()
521 if (sample_fields & PERF_SAMPLE_TIME) { in WritePerfSampleToData()
526 if (sample_fields & PERF_SAMPLE_ADDR) { in WritePerfSampleToData()
531 if (sample_fields & PERF_SAMPLE_ID) { in WritePerfSampleToData()
536 if (sample_fields & PERF_SAMPLE_STREAM_ID) { in WritePerfSampleToData()
541 if (sample_fields & PERF_SAMPLE_CPU) { in WritePerfSampleToData()
551 if (sample_fields & PERF_SAMPLE_IDENTIFIER) { in WritePerfSampleToData()
561 if (sample_fields & PERF_SAMPLE_PERIOD) { in WritePerfSampleToData()
566 if (sample_fields & PERF_SAMPLE_READ) { in WritePerfSampleToData()
580 if (sample_fields & PERF_SAMPLE_CALLCHAIN) { in WritePerfSampleToData()
592 if (sample_fields & PERF_SAMPLE_RAW) { in WritePerfSampleToData()
605 if (sample_fields & PERF_SAMPLE_BRANCH_STACK) { in WritePerfSampleToData()