/developtools/hiperf/src/ |
H A D | tracked_command.cpp | 54 HLOGE("pipe2() failed in TrackedCommand::InitSignalPipes()"); in InitSignalPipes() 62 HLOGE("pipe2() failed in TrackedCommand::InitSignalPipes()"); in InitSignalPipes() 83 HLOGE("fork() failed in TrackedCommand::CreateChildProcess()"); in CreateChildProcess() 121 HLOGE("*** nbyte: %zd, ackSignal: %d ***\n", nbyte, ackSignal); in StartCommand() 171 HLOGE("child process failed to execute command"); in ExecuteCommand()
|
H A D | perf_file_reader.cpp | 40 HLOGE("fail to open file %s", fileName.c_str()); in Instance() 57 HLOGE("fail to open uncompressed file .perf.data"); in Instance() 65 HLOGE("fail to read header of file .perf.data"); in Instance() 99 HLOGE("Fail to remove uncompressed file .perf.data"); in ~PerfFileReader() 146 HLOGE("fseek() failed"); in ReadAttrSection() 160 HLOGE("size not match, ptr of perf_event_attr maybe overfollow %zu vs %zu", in ReadAttrSection() 189 HLOGE("fseek() failed"); in ReadIdsForAttr() 213 HLOGE("fseek() failed"); in ReadDataSection() 259 HLOGE("read record header is null"); in ReadRecord() 262 HLOGE("rea in ReadRecord() [all...] |
H A D | utilities.cpp | 52 HLOGE("Error: CanonicalizeSpecPath failed"); in CanonicalizeSpecPath() 55 HLOGE("Error: CanonicalizeSpecPath %s failed", src); in CanonicalizeSpecPath() 61 HLOGE("Error: _fullpath %s failed", src); in CanonicalizeSpecPath() 68 HLOGE("Error: strncpy_s %s failed", src); in CanonicalizeSpecPath() 72 HLOGE("Error: realpath %s failed", src); in CanonicalizeSpecPath() 79 HLOGE("Error: sprintf_s %s failed", src); in CanonicalizeSpecPath() 83 HLOGE("Error: find .. %s failed", src); in CanonicalizeSpecPath() 154 HLOGE("tmpfile create failed '%s' with mode '%s'", tempFile.c_str(), mode.c_str()); in StdoutRecord() 213 HLOGE("tmp file read failed (try read %ld)", fileLength); in Stop() 215 HLOGE("no in Stop() [all...] |
H A D | perf_event_record.cpp | 74 HLOGE("unknown record type %d\n", type); in GetPerfEventRecord() 227 HLOGE("memcpy_s retren failed !!!"); in PerfRecordAuxtrace() 230 HLOGE("PerfRecordAuxtrace retren failed !!!"); in PerfRecordAuxtrace() 260 HLOGE("memcpy_s return failed"); in GetBinary1() 277 HLOGE("memcpy_s return failed"); in GetBinary() 282 HLOGE("memcpy_s return failed"); in GetBinary() 294 HLOGE("SpeDumpRawData failed"); in DumpData() 614 HLOGE("memcpy_s retren failed !!!"); in PerfRecordMmap() 617 HLOGE("PerfRecordMmap retren failed !!!"); in PerfRecordMmap() 631 HLOGE("strncpy_ in PerfRecordMmap() [all...] |
H A D | unique_stack_table.cpp | 29 HLOGE("Hashtable size limit, initial value too large!"); in Init() 59 HLOGE("%s: malloc(%u) failed, errno: %d", __func__, newtableSize, errno); in Resize() 64 HLOGE("%s: memcpy_s(%u) failed, errno: %d", __func__, tableSize_, errno); in Resize() 122 HLOGE("Hashtable not exist, fatal error!"); in PutIpsInTable()
|
H A D | subcommand.cpp | 153 HLOGE("unable to register empty subcommand!"); in RegisterSubCommand() 157 HLOGE("unable use '-' at the begin of subcommand '%s'", cmdName.c_str()); in RegisterSubCommand() 166 HLOGE("subcommand '%s' already registered!", cmdName.c_str()); in RegisterSubCommand()
|
H A D | option.cpp | 27 HLOGE("unable to use empty option name!"); in CheckOptionFormat() 31 HLOGE("must use '-' at the begin of option name!"); in CheckOptionFormat() 168 HLOGE("main args %s already registered!", optionName.c_str()); in RegisterMainOption()
|
H A D | perf_file_format.cpp | 154 HLOGE("read zero size!!! offset_ %zu size %zu max %zu", offset_, size, maxSize_); in Read() 157 HLOGE("read out of size!!! offset_ %zu size %zu max %zu", offset_, size, maxSize_); in Read() 159 HLOGE("memset_s failed in PerfFileSection::Read"); in Read() 234 HLOGE(" symbolFileNumber read failed"); 238 HLOGE(" symbolFileNumber %u too large", symbolFileNumber); 258 HLOGE(" symbols read failed"); 262 HLOGE(" symbols %u too large", symbolsNumber);
|
H A D | callstack.cpp | 136 HLOGE("no ehframe map found."); in fillUDI() 160 HLOGE("no debug map found."); in fillUDI() 201 HLOGE("memset_s() failed"); in FindUnwindTable() 276 HLOGE("ip 0x%016" UNW_WORD_PFLAG " not found in thread %d:%s", ip, in FindProcInfo() 291 HLOGE("address overfolw at 0x%" UNW_WORD_PFLAG " increase 0x%zu", addr, sizeof(unw_word_t)); in AccessMem() 322 HLOGE("can't read reg %d", perfRegIndex); in AccessReg() 327 HLOGE("access_reg %d", regnum); in AccessReg() 337 HLOGE("can't read reg %d", perfRegIndex); in AccessReg() 447 HLOGE("Can't create unwind vaddress space."); in DoUnwind() 459 HLOGE("unwin in DoUnwind() [all...] |
H A D | register.cpp | 66 HLOGE("unsupport arch %d", arch); in GetSupportedRegMask() 119 HLOGE("unwind: invalid reg id %d", libUnwindReg); in LibunwindRegIdToPerfReg() 199 HLOGE("registerIndex is %zu, max is %zu", registerIndex, registerNumber); in RegisterGetValue() 221 HLOGE("unsupport machine %s", machine.c_str()); in GetArchTypeFromUname()
|
H A D | subcommand_record.cpp | 837 HLOGE("Fail to SetBranchSampleType %" PRIx64 "", branchSampleType_); in PreparePerfEvent() 1102 HLOGE("create fifo file failed. %d:%s", errno, errInfo); in CreateFifoServer() 1109 HLOGE("fork failed. %d:%s", errno, errInfo); in CreateFifoServer() 1118 HLOGE("open fifo file(%s) failed. %d:%s", CONTROL_FIFO_FILE_S2C.c_str(), errno, errInfo); in CreateFifoServer() 1146 HLOGE("can not open fifo file(%s)", CONTROL_FIFO_FILE_S2C.c_str()); in SendFifoAndWaitReply() 1151 HLOGE("can not open fifo file(%s)", CONTROL_FIFO_FILE_C2S.c_str()); in SendFifoAndWaitReply() 1157 HLOGE("failed to write fifo file(%s) command(%s)", CONTROL_FIFO_FILE_C2S.c_str(), in SendFifoAndWaitReply() 1221 HLOGE("Fail to create record file %s", outputFilename_.c_str()); in OnSubCommand() 1254 HLOGE("Fail to finish record file %s", outputFilename_.c_str()); in OnSubCommand() 1258 HLOGE("Fai in OnSubCommand() [all...] |
H A D | perf_file_writer.cpp | 35 HLOGE("fail to remove file(%s).", fileName_.c_str()); in ~PerfFileWriter() 149 HLOGE("fseek() failed"); in ReadDataSection() 375 HLOGE("write failed %" PRIu64 ".", featureSection->header.size); in WriteFeatureData()
|
H A D | perf_events.cpp | 126 HLOGE("memcpy_s return failed"); in ReadRecordsFromSpeMmaps() 381 HLOGE("memset_s failed in PerfEvents::AddEvent"); in AddSpeEvent() 437 HLOGE("memset_s failed in PerfEvents::AddEvent"); in AddEvent() 523 HLOGE("memset_s failed in PerfEvents::CreateDefaultAttr"); in CreateDefaultAttr() 659 HLOGE("PerfEvents::EnableTracking() failed"); in StartTracking() 668 HLOGE("captureSig() failed"); in StartTracking() 685 HLOGE("PerfEvents::PerfEventsEnable() failed"); in StartTracking() 1093 HLOGE("pid %d does not exist.\n", pids_[ipid]); in CreateFdEvents() 1105 HLOGE("%s event is not supported by the kernel on cpu %d. reason: %d:%s\n", in CreateFdEvents()
|
H A D | report.cpp | 325 HLOGE("MultiLevelSorting a->b %d vs b->a %d", result, result2); in MultiLevelSorting() 326 HLOGE("left %s", a.ToDebugString().c_str()); in MultiLevelSorting() 327 HLOGE("right %s", b.ToDebugString().c_str()); in MultiLevelSorting()
|
/developtools/profiler/device/plugins/native_daemon/src/ |
H A D | utilities.cpp | 107 HLOGE("tmpfile create failed '%s' with mode '%s'", tempFile.c_str(), mode.c_str()); in StdoutRecord() 167 HLOGE("tmp file read failed (try read %ld)", fileLength); in Stop() 169 HLOGE("not all the data is read, lost %ld/%ld bytes", fileLength - len, fileLength); in Stop() 172 HLOGE("recordFile_ is nullptr"); in Stop() 326 HLOGE("Fail to open data file %s", dataFile.c_str()); in CompressFile() 333 HLOGE("Fail to call gzopen(%s)", destFile.c_str()); in CompressFile() 342 HLOGE("Fail to call gzwrite for %zu bytes", len); in CompressFile() 349 HLOGE("ferror return err"); in CompressFile() 366 HLOGE("Fail to open data file %s", dataFile.c_str()); in UncompressFile() 372 HLOGE("Fai in UncompressFile() [all...] |
H A D | register.cpp | 87 HLOGE("unsupport arch %d", arch);
in GetSupportedRegMask() 151 HLOGE("unwind: invalid reg id %d", libUnwindReg);
in LibunwindRegIdToPerfReg() 196 HLOGE("unsupport machine %s", machine.c_str());
in GetArchTypeFromUname()
|
H A D | call_stack.cpp | 186 HLOGE("memset_s failed");
in FindUnwindTable() 256 HLOGE("ip 0x%016" UNW_WORD_PFLAG " not found in thread %d:%s", ip,
in FindProcInfo() 306 HLOGE("access_reg not expected %d", regnum);
in AccessReg() 431 HLOGE("unwind error %d:%s see unw_error_t.", ret, GetUnwErrorName(ret).c_str());
in DoUnwind() 452 HLOGE("RegisterGetSPValue failed");
in UnwindCallStack() 611 HLOGE("pc 0x%016" UNW_WORD_PFLAG " not found in thread %d:%s", pc,
in FindUnwindTable() 624 HLOGE("address overflow at 0x%" UNW_WORD_PFLAG " increase 0x%zu", addr, sizeof(uintptr_t));
in AccessMem2()
|
H A D | virtual_thread.cpp | 209 HLOGE("ElfFile(%s) is null or read file offset from addr fail", curMemMaps->name_.c_str()); in ReadRoMemory() 212 HLOGE("found addr %" PRIx64 " in map but not loaded symbole %s", vaddr, curMemMaps->name_.c_str()); in ReadRoMemory() 227 HLOGE("VirtualThread Failed to Parse Map."); in ParseMap()
|
/developtools/profiler/device/plugins/native_daemon/test/unittest/common/native/include/ |
H A D | callstack_test.h | 114 HLOGE("fopen fail!"); in LoadFromFile() 119 HLOGE("make file unique ptr fail!"); in LoadFromFile() 132 HLOGE("fread fail! errno(%d:%s)", errno, errBuf); in LoadFromFile()
|
/developtools/profiler/device/plugins/native_daemon/include/ |
H A D | debug_logger.h | 239 #ifndef HLOGE 240 #define HLOGE(format, ...) HLOG(LEVEL_ERROR, format, ##__VA_ARGS__) macro 303 HLOGE("UNWIND_CHECK_NOTNULL(%s) in %s:%d FAILED, " fmt, #ptr, __func__, \ 312 HLOGE("UNWIND_CHECK_TRUE(%s) in %s:%d FAILED, " fmt, #expr, __func__, __LINE__, ##__VA_ARGS__); \ 350 #define HLOGE(...) \ macro
|
H A D | register.h | 204 HLOGE("registerIndex is %zu, max is %zu", registerIndex, registerNumber);
in RegisterGetValue()
|
/developtools/hiperf/include/ |
H A D | hiperf_hilog.h | 130 HLOGE("%s", str.c_str()); \ 135 HLOGE("%s", str.c_str()); \
|
H A D | debug_logger.h | 268 #ifndef HLOGE 269 #define HLOGE(format, ...) HLOG(LEVEL_ERROR, format, ##__VA_ARGS__) macro 329 #define HLOGE(...) \ macro
|
/developtools/hiperf/test/unittest/common/native/ |
H A D | virtual_thread_test.cpp | 78 HLOGE("param is null"); in MakeMapsFromDlpi() 108 HLOGE("param is null"); in PhdrCallBack() 367 HLOGE("unable to check the file size"); in HWTEST_F()
|
H A D | option_debug_test.cpp | 77 HLOGE("%s", logMessage.c_str()); in LogLevelTest()
|