Home
last modified time | relevance | path

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

/developtools/hiperf/src/
Dvirtual_runtime.cpp358 void VirtualRuntime::DedupFromRecord(PerfRecordSample *recordSample) in DedupFromRecord() argument
360 if (recordSample == nullptr) { in DedupFromRecord()
363 u64 nr = recordSample->data_.nr; in DedupFromRecord()
365 collectSymbolCallBack_(recordSample); in DedupFromRecord()
368 u32 pid = recordSample->data_.pid; in DedupFromRecord()
369 u64 *ips = recordSample->data_.ips; in DedupFromRecord()
387 collectSymbolCallBack_(recordSample); in DedupFromRecord()
392 recordSample->stackId_.value = stackId.value; in DedupFromRecord()
393 recordSample->header.size -= (sizeof(u64) * nr - sizeof(stackId)); in DedupFromRecord()
394 recordSample->data_.nr = 0; in DedupFromRecord()
[all …]
Dsubcommand_dump.cpp379 void SubCommandDump::ExprotUserStack(const PerfRecordSample &recordSample) in ExprotUserStack() argument
381 if (recordSample.data_.reg_nr > 0 and recordSample.data_.dyn_size > 0) { in ExprotUserStack()
384 StringPrintf("hiperf_%d_%d_user_regs_%zu.dump", recordSample.data_.pid, in ExprotUserStack()
385 recordSample.data_.tid, exportSampleIndex_); in ExprotUserStack()
388 fwrite(recordSample.data_.user_regs, sizeof(u64), recordSample.data_.reg_nr, in ExprotUserStack()
392 StringPrintf("hiperf_%d_%d_user_data_%zu.dump", recordSample.data_.pid, in ExprotUserStack()
393 recordSample.data_.tid, exportSampleIndex_); in ExprotUserStack()
396 fwrite(recordSample.data_.stack_data, sizeof(u8), recordSample.data_.dyn_size, in ExprotUserStack()
407 PerfRecordSample *recordSample = static_cast<PerfRecordSample *>(record.get()); in ExprotUserData() local
408 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 DfxFrame &frame : recordSample.callFrames_) { in ProcessSampleRecord()
134 sample->set_event_count(recordSample.data_.period); in ProcessSampleRecord()
/developtools/hiperf/include/
Dvirtual_runtime.h140 void SymbolicRecord(PerfRecordSample &recordSample);
144 void UnwindFromRecord(PerfRecordSample &recordSample);
199 void UpdateFromRecord(PerfRecordSample &recordSample);
203 void DedupFromRecord(PerfRecordSample *recordSample);
220 void SymbolicCallFrame(PerfRecordSample &recordSample, uint64_t ip,
222 bool RecoverCallStack(PerfRecordSample &recordSample);
Dsubcommand_dump.h114 void ExprotUserStack(const PerfRecordSample &recordSample);
Dreport_protobuf_file.h45 bool ProcessSampleRecord(const PerfRecordSample &recordSample, uint32_t configIndex,