Home
last modified time | relevance | path

Searched refs:sr (Results 1 – 12 of 12) sorted by relevance

/system/extras/simpleperf/
Dcmd_monitor.cpp164 void DumpSampleRecord(const SampleRecord& sr);
165 void DumpSampleCallchain(const SampleRecord& sr);
530 void MonitorCommand::DumpSampleRecord(const SampleRecord& sr) { in DumpSampleRecord() argument
532 StringAppendF(&output, " name=%s", event_names_[sr.id_data.id].c_str()); in DumpSampleRecord()
533 StringAppendF(&output, " ip=%p", reinterpret_cast<void*>(sr.ip_data.ip)); in DumpSampleRecord()
534 SymbolInfo s = GetSymbolInfo(sr.tid_data.pid, sr.tid_data.tid, sr.ip_data.ip, sr.InKernel()); in DumpSampleRecord()
537 StringAppendF(&output, " pid=%u tid=%u", sr.tid_data.pid, sr.tid_data.tid); in DumpSampleRecord()
538 StringAppendF(&output, " cpu=%u", sr.cpu_data.cpu); in DumpSampleRecord()
543 void MonitorCommand::DumpSampleCallchain(const SampleRecord& sr) { in DumpSampleCallchain() argument
544 bool in_kernel = sr.InKernel(); in DumpSampleCallchain()
[all …]
Dcmd_dumprecord.cpp369 void DumpRecordCommand::ProcessSampleRecord(const SampleRecord& sr) { in ProcessSampleRecord() argument
370 bool in_kernel = sr.InKernel(); in ProcessSampleRecord()
371 if (sr.sample_type & PERF_SAMPLE_CALLCHAIN) { in ProcessSampleRecord()
373 for (size_t i = 0; i < sr.callchain_data.ip_nr; ++i) { in ProcessSampleRecord()
374 if (sr.callchain_data.ips[i] >= PERF_CONTEXT_MAX) { in ProcessSampleRecord()
375 if (sr.callchain_data.ips[i] == PERF_CONTEXT_USER) { in ProcessSampleRecord()
381 GetSymbolInfo(sr.tid_data.pid, sr.tid_data.tid, sr.callchain_data.ips[i], in_kernel); in ProcessSampleRecord()
388 size_t attr_index = record_file_reader_->GetAttrIndexOfRecord(&sr); in ProcessSampleRecord()
390 if (event.tp_data_size > 0 && sr.raw_data.size >= event.tp_data_size) { in ProcessSampleRecord()
394 std::string s = event.extract_field_functions[i](field, sr.raw_data); in ProcessSampleRecord()
DRecordReadThread_test.cpp95 auto sr = static_cast<SampleRecord*>(record.get()); in TEST() local
100 ASSERT_EQ(sr->stack_user_data.size, stack_size); in TEST()
106 ASSERT_EQ(sr->tid_data.pid, pid); in TEST()
331 SampleRecord* sr = static_cast<SampleRecord*>(r.get()); in TEST_F() local
332 ASSERT_EQ(sr->stack_user_data.size, 8192u); in TEST_F()
333 ASSERT_EQ(sr->stack_user_data.dyn_size, 8192u); in TEST_F()
337 sr = static_cast<SampleRecord*>(r.get()); in TEST_F()
338 ASSERT_EQ(sr->stack_user_data.size, 4096u); in TEST_F()
339 ASSERT_EQ(sr->stack_user_data.dyn_size, 4096u); in TEST_F()
346 sr = static_cast<SampleRecord*>(r.get()); in TEST_F()
[all …]
Dcmd_debug_unwind.cpp256 auto& sr = *static_cast<SampleRecord*>(r.get()); in ProcessRecord() local
257 const PerfSampleStackUserType* stack = &sr.stack_user_data; in ProcessRecord()
258 const PerfSampleRegsUserType* regs = &sr.regs_user_data; in ProcessRecord()
259 if (last_unwinding_result_ && last_unwinding_result_->Timestamp() == sr.Timestamp()) { in ProcessRecord()
264 if (!UnwindRecord(sr, *regs, *stack)) { in ProcessRecord()
523 void ReportUnwindingResult(const SampleRecord& sr, const UnwindingResultRecord& unwinding_r) { in ReportUnwindingResult() argument
524 ThreadEntry* thread = thread_tree_.FindThreadOrNew(sr.tid_data.pid, sr.tid_data.tid); in ReportUnwindingResult()
526 std::vector<uint64_t> ips = sr.GetCallChain(&kernel_ip_count); in ReportUnwindingResult()
531 fprintf(out_fp_, "sample_time: %" PRIu64 "\n", sr.Timestamp()); in ReportUnwindingResult()
Dcmd_record.cpp1709 SampleRecord& sr = *static_cast<SampleRecord*>(r.get()); in JoinCallChains() local
1710 if (!sr.HasUserCallChain()) { in JoinCallChains()
1711 return record_file_writer_->WriteRecord(sr); in JoinCallChains()
1722 CHECK_EQ(pid, static_cast<pid_t>(sr.tid_data.pid)); in JoinCallChains()
1723 CHECK_EQ(tid, static_cast<pid_t>(sr.tid_data.tid)); in JoinCallChains()
1724 sr.UpdateUserCallChain(ips); in JoinCallChains()
1725 return record_file_writer_->WriteRecord(sr); in JoinCallChains()
Dcmd_record_test.cpp643 SampleRecord* sr = static_cast<SampleRecord*>(r.get()); in TEST() local
644 if (sr->stack_user_data.dyn_size == 0) { in TEST()
672 SampleRecord* sr = static_cast<SampleRecord*>(r.get()); in TEST() local
673 if (sr->stack_user_data.dyn_size == 0) { in TEST()
/system/bt/stack/avdt/
Davdt_scb_act.cc343 BE_STREAM_TO_UINT32(report.sr.ntp_sec, p); in avdt_scb_hdl_report()
344 BE_STREAM_TO_UINT32(report.sr.ntp_frac, p); in avdt_scb_hdl_report()
345 BE_STREAM_TO_UINT32(report.sr.rtp_time, p); in avdt_scb_hdl_report()
346 BE_STREAM_TO_UINT32(report.sr.pkt_count, p); in avdt_scb_hdl_report()
347 BE_STREAM_TO_UINT32(report.sr.octet_count, p); in avdt_scb_hdl_report()
/system/bt/stack/include/
Davdt_api.h306 tAVDT_SENDER_INFO sr; member
/system/ca-certificates/files/
Ddc99f41e.012 4yjsriFBzh/a/X0SWwGDD7mwX5nh8hKDgE0GPt+sr+ehiGsxr/CL0BgzuNtFajT0
/system/bt/stack/
DAndroid.bp596 // gatt sr hash test
/system/timezone/output_data/android/
Dtzids.prototxt1596 isoCode: "sr"
/system/timezone/input_data/android/
Dcountryzones.txt2972 isoCode:"sr"