Searched refs:pids (Results 1 – 5 of 5) sorted by relevance
/linux-tools/ebpf/libbpf-bootstrap/ |
H A D | conn.c | 41 static map<int, xtt> pids; variable 91 if (pids.count(pid)==0 || ctime-get<0>(pids[pid]) > 1000) { in event_handler() 113 pids[pid] = make_tuple(ctime, string(comm), string(host)); in event_handler() 117 …printf("[%s@%s] accept connection from <%s>\n", get<1>(pids[pid]).c_str(), get<2>(pids[pid]).c_str… in event_handler() 120 …printf("[%s@%s] try to connect <%s:%d>\n", get<1>(pids[pid]).c_str(), get<2>(pids[pid]).c_str(), … in event_handler() 122 … printf("[%s@%s] try to reach <%s>\n", get<1>(pids[pid]).c_str(), get<2>(pids[pid]).c_str(), ob); in event_handler()
|
H A D | openat.c | 38 static map<int, xtt> pids; variable 49 if (pids.count(pid)==0 || ctime-get<0>(pids[pid]) > 1000) { in event_handler() 71 pids[pid] = make_tuple(ctime, string(comm), string(host)); in event_handler() 73 if (whitelist.count(get<1>(pids[pid]))==0) { in event_handler() 74 …printf("[%s@%s] open file <%s>\n", get<1>(pids[pid]).c_str(), get<2>(pids[pid]).c_str(), event->fn… in event_handler()
|
H A D | commargv.c | 38 static map<int, xtt> pids; variable 49 if (pids.count(pid)==0 || ctime-get<0>(pids[pid]) > 1000) { in event_handler() 71 pids[pid] = make_tuple(ctime, string(comm), string(host)); in event_handler() 73 printf("[%s@%s]: ", get<1>(pids[pid]).c_str(), get<2>(pids[pid]).c_str()); in event_handler()
|
/linux-tools/perf/execommand/ |
H A D | perf_comm.cpp | 46 queue<int> pids; variable 82 pids.push(pid); in process_event() 87 pids.push(-pid); in process_event() 94 while(!pids.empty()) { in process_queue() 95 pid=pids.front(); pids.pop(); in process_queue()
|
/linux-tools/perf/kprobe/ |
H A D | perf_kprobe.cpp | 51 static map<int, xtt> pids; variable 63 if (pids.count(pid)==0 || ctime-get<0>(pids[pid]) > 1000) { in process_event() 85 pids[pid] = make_tuple(ctime, string(comm), string(host)); in process_event() 94 …printf("%s@%s[%d] %s(0x%llx,0x%llx,0x%llx,0x%llx)\n", get<1>(pids[pid]).c_str(), get<2>(pids[pid])… in process_event()
|