Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Dcommand.cpp43 static std::map<std::string, callback_t>& CommandMap() { in CommandMap() function
52 CommandMap().insert(std::make_pair(cmd_name, callback)); in RegisterCommand()
56 CommandMap().erase(cmd_name); in UnRegisterCommand()
60 auto it = CommandMap().find(cmd_name); in CreateCommandInstance()
61 return (it == CommandMap().end()) ? nullptr : (it->second)(); in CreateCommandInstance()
66 for (auto pair : CommandMap()) { in GetAllCommandNames()