Lines Matching refs:SubCommandRecord
101 SubCommandRecord::~SubCommandRecord() in ~SubCommandRecord()
106 void SubCommandRecord::DumpOptions() const in DumpOptions()
146 bool SubCommandRecord::GetOptions(std::vector<std::string> &args) in GetOptions()
280 bool SubCommandRecord::GetOptionFrequencyAndPeriod(std::vector<std::string> &args) in GetOptionFrequencyAndPeriod()
308 bool SubCommandRecord::CheckDataLimitOption() in CheckDataLimitOption()
319 bool SubCommandRecord::CheckSelectCpuPidOption() in CheckSelectCpuPidOption()
350 bool SubCommandRecord::CheckOptions() in CheckOptions()
402 bool SubCommandRecord::ParseOption(std::vector<std::string> &args) in ParseOption()
419 bool SubCommandRecord::CheckTargetProcessOptions() in CheckTargetProcessOptions()
460 bool SubCommandRecord::CheckTargetPids() in CheckTargetPids()
493 bool SubCommandRecord::ParseDataLimitOption(const std::string &str) in ParseDataLimitOption()
523 bool SubCommandRecord::ParseCallStackOption(const std::vector<std::string> &callStackType) in ParseCallStackOption()
569 bool SubCommandRecord::ParseBranchSampleType(const std::vector<std::string> &vecBranchSampleTypes) in ParseBranchSampleType()
590 bool SubCommandRecord::ParseControlCmd(const std::string cmd) in ParseControlCmd()
602 bool SubCommandRecord::SetPerfLimit(const std::string& file, int value, std::function<bool (int, in… in SetPerfLimit()
631 bool SubCommandRecord::SetPerfCpuMaxPercent() in SetPerfCpuMaxPercent()
637 bool SubCommandRecord::SetPerfMaxSampleRate() in SetPerfMaxSampleRate()
644 bool SubCommandRecord::SetPerfEventMlock() in SetPerfEventMlock()
651 bool SubCommandRecord::SetPerfHarden() in SetPerfHarden()
672 bool SubCommandRecord::TraceOffCpu() in TraceOffCpu()
688 bool SubCommandRecord::PreparePerfEvent() in PreparePerfEvent()
691 auto processRecord = std::bind(&SubCommandRecord::ProcessRecord, this, std::placeholders::_1); in PreparePerfEvent()
757 bool SubCommandRecord::PrepareSysKernel() in PrepareSysKernel()
786 bool SubCommandRecord::PrepareVirtualRuntime() in PrepareVirtualRuntime()
788 auto saveRecord = std::bind(&SubCommandRecord::SaveRecord, this, std::placeholders::_1); in PrepareVirtualRuntime()
811 bool SubCommandRecord::ClientCommandResponse(bool OK) in ClientCommandResponse()
837 bool SubCommandRecord::IsSamplingRunning() in IsSamplingRunning()
852 void SubCommandRecord::ClientCommandHandle() in ClientCommandHandle()
907 bool SubCommandRecord::ProcessControl() in ProcessControl()
951 bool SubCommandRecord::CreateFifoServer() in CreateFifoServer()
1003 bool SubCommandRecord::SendFifoAndWaitReply(const std::string &cmd, const std::chrono::milliseconds… in SendFifoAndWaitReply()
1032 bool SubCommandRecord::WaitFifoReply(int fd, const std::chrono::milliseconds &timeOut) in WaitFifoReply()
1064 bool SubCommandRecord::OnSubCommand(std::vector<std::string> &args) in OnSubCommand()
1094 clientCommandHanle_ = std::thread(&SubCommandRecord::ClientCommandHandle, this); in OnSubCommand()
1124 void SubCommandRecord::CloseClientThread() in CloseClientThread()
1142 bool SubCommandRecord::ProcessRecord(std::unique_ptr<PerfEventRecord> record) in ProcessRecord()
1181 bool SubCommandRecord::SaveRecord(std::unique_ptr<PerfEventRecord> record) in SaveRecord()
1223 uint32_t SubCommandRecord::GetCountFromFile(const std::string &fileName) in GetCountFromFile()
1239 std::string SubCommandRecord::GetCpuDescFromFile() in GetCpuDescFromFile()
1259 bool SubCommandRecord::AddCpuFeature() in AddCpuFeature()
1292 void SubCommandRecord::AddMemTotalFeature() in AddMemTotalFeature()
1309 void SubCommandRecord::AddEventDescFeature() in AddEventDescFeature()
1314 void SubCommandRecord::AddRecordTimeFeature() in AddRecordTimeFeature()
1327 void SubCommandRecord::AddWorkloadCmdFeature() in AddWorkloadCmdFeature()
1336 void SubCommandRecord::AddCommandLineFeature() in AddCommandLineFeature()
1345 void SubCommandRecord::AddCpuOffFeature() in AddCpuOffFeature()
1352 bool SubCommandRecord::AddFeatureRecordFile() in AddFeatureRecordFile()
1375 bool SubCommandRecord::CreateInitRecordFile(bool compressData) in CreateInitRecordFile()
1397 bool SubCommandRecord::PostProcessRecordFile() in PostProcessRecordFile()
1455 void SubCommandRecord::SymbolicHits() in SymbolicHits()
1470 bool SubCommandRecord::CollectionSymbol(std::unique_ptr<PerfEventRecord> record) in CollectionSymbol()
1509 bool SubCommandRecord::FinishWriteRecordFile() in FinishWriteRecordFile()
1523 std::bind(&SubCommandRecord::CollectionSymbol, this, std::placeholders::_1)); in FinishWriteRecordFile()
1551 void SubCommandRecord::ReportTime() in ReportTime()
1594 bool SubCommandRecord::RecordCompleted() in RecordCompleted()
1625 bool SubCommandRecord::RegisterSubCommandRecord(void) in RegisterSubCommandRecord()
1627 return SubCommand::RegisterSubCommand("record", std::make_unique<SubCommandRecord>()); in RegisterSubCommandRecord()