Home
last modified time | relevance | path

Searched refs:recordSample (Results 1 – 6 of 6) sorted by relevance

/developtools/hiperf/src/
Dvirtual_runtime.cpp277 auto recordSample = static_cast<PerfRecordSample *>(&record); in UpdateFromRecord() local
278 UpdateFromRecord(*recordSample); in UpdateFromRecord()
316 void VirtualRuntime::SymbolicCallFrame(PerfRecordSample &recordSample, uint64_t ip, in SymbolicCallFrame() argument
319 auto symbol = GetSymbol(ip, recordSample.data_.pid, recordSample.data_.tid, context); in SymbolicCallFrame()
320 MakeCallFrame(symbol, recordSample.callFrames_.emplace_back(ip, 0)); in SymbolicCallFrame()
321 HLOGV(" (%zu)unwind symbol: %*s%s", recordSample.callFrames_.size(), in SymbolicCallFrame()
322 static_cast<int>(recordSample.callFrames_.size()), "", in SymbolicCallFrame()
323 recordSample.callFrames_.back().ToSymbolString().c_str()); in SymbolicCallFrame()
326 void VirtualRuntime::SymbolicRecord(PerfRecordSample &recordSample) in SymbolicRecord() argument
332 recordSample.callFrames_.clear(); in SymbolicRecord()
[all …]
Dsubcommand_dump.cpp370 void SubCommandDump::ExprotUserStack(const PerfRecordSample &recordSample) in ExprotUserStack() argument
372 if (recordSample.data_.reg_nr > 0 and recordSample.data_.dyn_size > 0) { in ExprotUserStack()
375 StringPrintf("hiperf_%d_%d_user_regs_%zu.dump", recordSample.data_.pid, in ExprotUserStack()
376 recordSample.data_.tid, exportSampleIndex_); in ExprotUserStack()
379 fwrite(recordSample.data_.user_regs, sizeof(u64), recordSample.data_.reg_nr, in ExprotUserStack()
383 StringPrintf("hiperf_%d_%d_user_data_%zu.dump", recordSample.data_.pid, in ExprotUserStack()
384 recordSample.data_.tid, exportSampleIndex_); in ExprotUserStack()
387 fwrite(recordSample.data_.stack_data, sizeof(u8), recordSample.data_.dyn_size, in ExprotUserStack()
398 PerfRecordSample *recordSample = static_cast<PerfRecordSample *>(record.get()); in ExprotUserData() local
399 ExprotUserStack(*recordSample); in ExprotUserData()
[all …]
Dreport_protobuf_file.cpp118 const PerfRecordSample &recordSample, uint32_t configIndex, in ProcessSampleRecord() argument
123 sample->set_time(recordSample.data_.time); in ProcessSampleRecord()
124 sample->set_tid(recordSample.data_.tid); in ProcessSampleRecord()
125 for (const CallFrame &frame : recordSample.callFrames_) { in ProcessSampleRecord()
134 sample->set_event_count(recordSample.data_.period); in ProcessSampleRecord()
/developtools/hiperf/include/
Dvirtual_runtime.h98 void SymbolicRecord(PerfRecordSample &recordSample);
102 void UnwindFromRecord(PerfRecordSample &recordSample);
143 void UpdateFromRecord(PerfRecordSample &recordSample);
163 void SymbolicCallFrame(PerfRecordSample &recordSample, uint64_t ip,
Dsubcommand_dump.h114 void ExprotUserStack(const PerfRecordSample &recordSample);
Dreport_protobuf_file.h45 bool ProcessSampleRecord(const PerfRecordSample &recordSample, uint32_t configIndex,