Searched refs:iNode (Results 1 – 6 of 6) sorted by relevance
/ohos5.0/base/hiviewdfx/hidumper/frameworks/native/src/executor/memory/parse/ |
H A D | parse_smaps_info.cpp | 107 uint64_t iNode = 0; in GetInfo() local 115 } else if (MemoryUtil::GetInstance().IsNameLine(line, name, iNode)) { in GetInfo() 116 MemoryFilter::GetInstance().ParseMemoryGroup(name, memGroup_, iNode); in GetInfo() 117 MemoryFilter::GetInstance().ParseNativeHeapMemoryGroup(name, nativeMemGroup_, iNode); in GetInfo() 161 uint64_t iNode = 0; in ShowSmapsData() local 169 } else if (MemoryUtil::GetInstance().IsNameLine(line, name, iNode)) { in ShowSmapsData()
|
/ohos5.0/base/hiviewdfx/hidumper/frameworks/native/src/executor/memory/ |
H A D | memory_filter.cpp | 29 void MemoryFilter::ParseMemoryGroup(const string &name, string &group, uint64_t iNode) in ParseMemoryGroup() argument 31 group = iNode > 0 ? FILE_PAGE_TAG : ANON_PAGE_TAG; in ParseMemoryGroup() 42 void MemoryFilter::ParseNativeHeapMemoryGroup(const string &name, string &group, uint64_t iNode) in ParseNativeHeapMemoryGroup() argument
|
H A D | memory_util.cpp | 34 bool MemoryUtil::IsNameLine(const string &str, string &name, uint64_t &iNode) in IsNameLine() argument 37 if (sscanf_s(str.c_str(), "%*llx-%*llx %*s %*llx %*s %llu%n", &iNode, &len) != 1) { in IsNameLine()
|
/ohos5.0/base/hiviewdfx/hidumper/test/unittest/common/ |
H A D | memory_dumper_test.cpp | 161 uint64_t iNode = 0; variable 162 ASSERT_FALSE(MemoryUtil::GetInstance().IsNameLine(valueLine, name, iNode)); 165 ASSERT_TRUE(MemoryUtil::GetInstance().IsNameLine(nameLine, name, iNode));
|
/ohos5.0/base/hiviewdfx/hidumper/frameworks/native/include/executor/memory/ |
H A D | memory_filter.h | 100 void ParseMemoryGroup(const std::string &name, std::string &group, uint64_t iNode); 101 void ParseNativeHeapMemoryGroup(const std::string &name, std::string &group, uint64_t iNode);
|
H A D | memory_util.h | 47 bool IsNameLine(const std::string &str, std::string &name, uint64_t &iNode);
|