Searched refs:current_cmd_line (Results 1 – 1 of 1) sorted by relevance
55 std::string current_cmd_line; in DumpCmdLine() local56 if (android::base::ReadFileToString("/proc/self/cmdline", ¤t_cmd_line)) { in DumpCmdLine()57 current_cmd_line.resize(current_cmd_line.find_last_not_of('\0') + 1); // trim trailing '\0's in DumpCmdLine()58 std::replace(current_cmd_line.begin(), current_cmd_line.end(), '\0', ' '); in DumpCmdLine()60 os << "Cmd line: " << current_cmd_line << "\n"; in DumpCmdLine()62 if (stashed_cmd_line != nullptr && current_cmd_line != stashed_cmd_line in DumpCmdLine()