Home | History | Annotate | Download | only in simpleperf

Lines Matching refs:Sample

63             "report-sample", "report raw sample information in perf.data",
65 "Usage: simpleperf report-sample [options]\n"
68 " `simpleperf report-sample --protobuf -o <file>`.\n"
277 auto& sample = proto_record.sample();
279 FprintIndented(report_fp_, 0, "sample %zu:\n", ++sample_count);
280 FprintIndented(report_fp_, 1, "time: %" PRIu64 "\n", sample.time());
281 FprintIndented(report_fp_, 1, "event_count: %" PRIu64 "\n", sample.event_count());
282 FprintIndented(report_fp_, 1, "thread_id: %d\n", sample.thread_id());
284 for (int i = 0; i < sample.callchain_size(); ++i) {
285 const proto::Sample_CallChainEntry& callchain = sample.callchain(i);
368 proto::Sample* sample = proto_record.mutable_sample();
369 sample->set_time(r.time_data.time);
370 sample->set_event_count(r.period_data.period);
371 sample->set_thread_id(r.tid_data.tid);
379 proto::Sample_CallChainEntry* callchain = sample->add_callchain();
403 // Remove duplication with sample ip.
411 callchain = sample->add_callchain();
544 FprintIndented(report_fp_, 0, "sample:\n");
577 // Remove duplication with sample ip.
604 RegisterCommand("report-sample", [] {