Home
last modified time | relevance | path

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

/linux-tools/ebpf/libbpf-bootstrap/
H A Dcommargv.c52 char host[128]; in event_handler() local
65 host[0]=0; fgets(host, sizeof(host), fp); in event_handler()
66 while(i<sizeof(host)&&host[i]!=0&&host[i]!='\n'&&host[i]!='\r') i++; in event_handler()
67 host[i]=0; in event_handler()
70 if (i<1) strcpy(host, "unknown-host"); in event_handler()
71 pids[pid] = make_tuple(ctime, string(comm), string(host)); in event_handler()
H A Dopenat.c52 char host[128]; in event_handler() local
65 host[0]=0; fgets(host, sizeof(host), fp); in event_handler()
66 while(i<sizeof(host)&&host[i]!=0&&host[i]!='\n'&&host[i]!='\r') i++; in event_handler()
67 host[i]=0; in event_handler()
70 if (i<1) strcpy(host, "unknown-host"); in event_handler()
71 pids[pid] = make_tuple(ctime, string(comm), string(host)); in event_handler()
H A Dconn.c94 char host[128]; in event_handler() local
107 host[0]=0; fgets(host, sizeof(host), fp); in event_handler()
108 while(i<sizeof(host)&&host[i]!=0&&host[i]!='\n'&&host[i]!='\r') i++; in event_handler()
109 host[i]=0; in event_handler()
112 if (i<1) strcpy(host, "unknown-host"); in event_handler()
113 pids[pid] = make_tuple(ctime, string(comm), string(host)); in event_handler()
/linux-tools/perf/kprobe/
H A Dperf_kprobe.cpp66 char host[128]; in process_event() local
79 host[0]=0; fgets(host, sizeof(host), fp); in process_event()
80 while(i<sizeof(host)&&host[i]!=0&&host[i]!='\n'&&host[i]!='\r') i++; in process_event()
81 host[i]=0; in process_event()
84 if (i<1) strcpy(host, "unknown-host"); in process_event()
85 pids[pid] = make_tuple(ctime, string(comm), string(host)); in process_event()
/linux-tools/perf/profiler/
H A Dprofiler-kprobe.cpp305 char host[128]="NA"; in process_event() local
315 fscanf(fp, "%s", host); in process_event()
318 pid_infos[pid]=make_pair(string(comm), string(host)); in process_event()