Home
last modified time | relevance | path

Searched refs:savedEventsFormatPath (Results 1 - 2 of 2) sorted by relevance

/base/hiviewdfx/hitrace/utils/
H A Dtrace_utils.cpp221 const std::string savedEventsFormatPath = TRACE_DEFAULT_DIR + TRACE_EVENT_FORMT; in DelSavedEventsFormat() local
222 if (access(savedEventsFormatPath.c_str(), F_OK) != 0) { in DelSavedEventsFormat()
227 if (remove(savedEventsFormatPath.c_str()) == 0) { in DelSavedEventsFormat()
/base/hiviewdfx/hitrace/interfaces/native/innerkits/src/
H A Dhitrace_dump.cpp677 const std::string savedEventsFormatPath = DEFAULT_OUTPUT_DIR + SAVED_EVENTS_FORMAT; in WriteEventsFormat() local
678 if (access(savedEventsFormatPath.c_str(), F_OK) != -1) { in WriteEventsFormat()
679 return WriteFile(CONTENT_TYPE_EVENTS_FORMAT, savedEventsFormatPath, outFd, outputFile); in WriteEventsFormat()
681 std::string filePath = CanonicalizeSpecPath(savedEventsFormatPath.c_str()); in WriteEventsFormat()
684 HILOG_ERROR(LOG_CORE, "WriteEventsFormat: open %{public}s failed.", savedEventsFormatPath.c_str()); in WriteEventsFormat()

Completed in 4 milliseconds