Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Dcmd_record.cpp338 std::string module_name = basename(&filename[0]); in DumpBuildIdFeature() local
339 if (android::base::EndsWith(module_name, ".ko")) { in DumpBuildIdFeature()
340 module_name = module_name.substr(0, module_name.size() - 3); in DumpBuildIdFeature()
342 if (!GetModuleBuildId(module_name, &build_id)) { in DumpBuildIdFeature()
343 LOG(DEBUG) << "can't read build_id for module " << module_name; in DumpBuildIdFeature()
Denvironment.cpp183 std::string module_name = name.substr(0, name.size() - 3); in GetAllModuleFiles() local
184 std::replace(module_name.begin(), module_name.end(), '-', '_'); in GetAllModuleFiles()
185 module_file_map->insert(std::make_pair(module_name, path + name)); in GetAllModuleFiles()
355 bool GetModuleBuildId(const std::string& module_name, BuildId* build_id) { in GetModuleBuildId() argument
356 std::string notefile = "/sys/module/" + module_name + "/notes/.note.gnu.build-id"; in GetModuleBuildId()
Denvironment.h68 bool GetModuleBuildId(const std::string& module_name, BuildId* build_id);