Lines Matching full:path
44 std::string path = "";
46 path = std::string(PROC_SELF_MAPS_PATH);
48 path = StringPrintf("/proc/%d/maps", (int)pid);
50 return path;
56 std::string path = GetMapsFile(pid);
57 if (path == "") {
62 DFXLOGU("Create maps(%{public}s) with not crash, will only parse exec map", path.c_str());
65 if (dfxMaps->Parse(pid, path)) {
71 std::shared_ptr<DfxMaps> DfxMaps::Create(const pid_t pid, const std::string& path)
74 if (dfxMaps->Parse(pid, path)) {
82 std::string path = GetMapsFile(pid);
83 if (path == "") {
88 if (!dfxMaps->Parse(pid, path)) {
96 bool DfxMaps::Parse(const pid_t pid, const std::string& path)
99 if ((pid < 0) || (path == "")) {
105 fp = fopen(path.c_str(), "r");
107 DFXLOGE("Failed to open %{public}s, err=%{public}d", path.c_str(), errno);
139 DFXLOGE("Failed to get maps(%{public}s), err(%{public}d).", path.c_str(), errno);
144 path.c_str(), mapsSize, fgetCount);