Home
last modified time | relevance | path

Searched refs:traceFile (Results 1 – 3 of 3) sorted by relevance

/base/hiviewdfx/hiview/test/unittest/xcollecter_hitrace/
Dxcollecter_test.cpp60 std::string traceFile; variable
61 item->GetCollectItemValue("/hitrace/client/dump", traceFile);
62 std::cout << "collect" << traceFile << std::endl;
80 std::string traceFile; variable
81 item->GetCollectItemValue("/hitrace/cmd/open", traceFile);
82 std::cout << "collect" << traceFile << std::endl;
100 std::string traceFile; variable
101 item->GetCollectItemValue("/hitrace/cmd/traceon", traceFile);
102 std::cout << "collect" << traceFile << std::endl;
120 std::string traceFile; variable
[all …]
/base/hiviewdfx/hiview/utility/smart_parser/test/moduletest/common/
Dsmart_parser_module_test.cpp143 std::string traceFile = LogUtil::SMART_PARSER_TEST_DIR + "/SmartParserTest003/trace.txt"; variable
145 ASSERT_EQ(FileUtil::FileExists(traceFile), true);
158 if (!FileUtil::LoadStringFromFile(traceFile, content)) {
159 printf("read logFile: %s failed", traceFile.c_str());
187 std::string traceFile = LogUtil::SMART_PARSER_TEST_DIR + "/SmartParserTest004/trace.txt"; variable
189 ASSERT_EQ(FileUtil::FileExists(traceFile), true);
191 LogUtil::ReadFileBuff(traceFile, buff);
222 std::string traceFile = LogUtil::SMART_PARSER_TEST_DIR + "/SmartParserTest005/trace.txt"; variable
224 ASSERT_EQ(FileUtil::FileExists(traceFile), true);
226 LogUtil::ReadFileBuff(traceFile, buff);
[all …]
/base/hiviewdfx/hitrace/interfaces/native/innerkits/src/
Dhitrace_meter.cpp113 const std::string traceFile = "/sys/kernel/tracing/trace_marker"; in OpenTraceMarkerFile() local
117 g_markerFd = open(traceFile.c_str(), O_WRONLY | O_CLOEXEC); in OpenTraceMarkerFile()
119 … HiLog::Error(LABEL, "open trace file %{public}s failed: %{public}d", traceFile.c_str(), errno); in OpenTraceMarkerFile()