Home
last modified time | relevance | path

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

/base/hiviewdfx/hiview/utility/smart_parser/test/moduletest/common/
Dsmart_parser_module_test.cpp139 std::string traceFile = LogUtil::SMART_PARSER_TEST_DIR + "/SmartParserTest003/trace.txt"; variable
141 ASSERT_EQ(FileUtil::FileExists(traceFile), true);
154 if (!FileUtil::LoadStringFromFile(traceFile, content)) {
155 printf("read logFile: %s failed", traceFile.c_str());
183 std::string traceFile = LogUtil::SMART_PARSER_TEST_DIR + "/SmartParserTest004/trace.txt"; variable
185 ASSERT_EQ(FileUtil::FileExists(traceFile), true);
187 LogUtil::ReadFileBuff(traceFile, buff);
218 std::string traceFile = LogUtil::SMART_PARSER_TEST_DIR + "/SmartParserTest005/trace.txt"; variable
220 ASSERT_EQ(FileUtil::FileExists(traceFile), true);
222 LogUtil::ReadFileBuff(traceFile, buff);
/base/hiviewdfx/hitrace/interfaces/native/innerkits/src/
Dhitrace_meter.cpp109 const std::string traceFile = "/sys/kernel/tracing/trace_marker"; in OpenTraceMarkerFile() local
113 g_markerFd = open(traceFile.c_str(), O_WRONLY | O_CLOEXEC); in OpenTraceMarkerFile()
115 … HiLog::Error(LABEL, "open trace file %{public}s failed: %{public}d", traceFile.c_str(), errno); in OpenTraceMarkerFile()