Home
last modified time | relevance | path

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

/linux-tools/perf/execommand/
H A Dperf_comm.cpp44 unordered_map<int, string> hostnames; variable
70 if (hostnames.count(pid)==0&&get_hostname(ppid)) hostnames[pid] =string(bb); in process_event()
81 if (hostnames.count(pid)==0&&get_hostname(pid)) hostnames[pid] = string(bb); in process_event()
86 if (hostnames.count(pid)==0&&get_hostname(ppid)) hostnames[pid] =string(bb); in process_event()
98 if (hostnames.count(pid)==0&&get_hostname(pid)) hostnames[pid]=string(bb); in process_queue()
99 if (hostnames.count(pid)==0) { in process_queue()
102 … printf("<%s> start command [%s](%d)\n", hostnames[pid].c_str(), commands[pid].c_str(), pid); in process_queue()
107 if (hostnames.count(pid)==0) { in process_queue()
110 … printf("<%s> stop command [%s](%d)\n", hostnames[pid].c_str(), commands[pid].c_str(), pid); in process_queue()
114 if (hostnames.count(pid)) hostnames.erase(pid); in process_queue()