Home
last modified time | relevance | path

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

/frameworks/native/cmds/dumpstate/
Ddumpstate.cpp463 std::string raft_path = ds.GetPath("-raft_log.txt"); in dump_raft() local
464 if (raft_path.empty()) { in dump_raft()
482 RunCommand("RAFT LOGS", {"logcompressor", "-n", "-r", RAFT_DIR, "-o", raft_path}, options); in dump_raft()
483 if (!ds.AddZipEntry("raft_log.txt", raft_path)) { in dump_raft()
484 MYLOGE("Unable to add raft log %s to zip file\n", raft_path.c_str()); in dump_raft()
486 if (remove(raft_path.c_str())) { in dump_raft()
487 MYLOGE("Error removing raft file %s: %s\n", raft_path.c_str(), strerror(errno)); in dump_raft()