Home
last modified time | relevance | path

Searched refs:socket (Results 1 – 25 of 33) sorted by relevance

12

/tools/perf/tests/
Dhists_filter.c19 int socket; member
25 { .pid = FAKE_PID_PERF1, .ip = FAKE_IP_KERNEL_SCHEDULE, .socket = 0 },
27 { .pid = FAKE_PID_PERF1, .ip = FAKE_IP_PERF_MAIN, .socket = 0 },
29 { .pid = FAKE_PID_PERF1, .ip = FAKE_IP_LIBC_MALLOC, .socket = 0 },
31 { .pid = FAKE_PID_PERF2, .ip = FAKE_IP_PERF_MAIN, .socket = 0 }, /* will be merged */
33 { .pid = FAKE_PID_PERF2, .ip = FAKE_IP_PERF_CMD_RECORD, .socket = 1 },
35 { .pid = FAKE_PID_PERF2, .ip = FAKE_IP_KERNEL_PAGE_FAULT, .socket = 1 },
37 { .pid = FAKE_PID_BASH, .ip = FAKE_IP_BASH_MAIN, .socket = 2 },
39 { .pid = FAKE_PID_BASH, .ip = FAKE_IP_BASH_XMALLOC, .socket = 2 },
41 { .pid = FAKE_PID_BASH, .ip = FAKE_IP_LIBC_MALLOC, .socket = 3 },
[all …]
/tools/testing/selftests/net/
Drun_netsocktests6 ./socket
D.gitignore1 socket
DMakefile7 NET_PROGS = socket psock_fanout psock_tpacket reuseport_bpf reuseport_bpf_cpu reuseport_dualstack
Dpsock_lib.h75 fds[0] = socket(PF_INET, SOCK_DGRAM, 0); in pair_udp_open()
76 fds[1] = socket(PF_INET, SOCK_DGRAM, 0); in pair_udp_open()
Dreuseport_bpf.c159 fd[i] = socket(p.recv_family, p.protocol, 0); in build_recv_group()
193 const int fd = socket(p.send_family, p.protocol, 0); in send_from()
310 fd1 = socket(p.recv_family, p.protocol, 0); in test_extra_filter()
313 fd2 = socket(p.recv_family, p.protocol, 0); in test_extra_filter()
366 fd = socket(p.recv_family, p.protocol, 0); in test_filter_no_reuseport()
391 fd1 = socket(AF_INET, SOCK_DGRAM, 0); in test_filter_without_bind()
394 fd2 = socket(AF_INET, SOCK_DGRAM, 0); in test_filter_without_bind()
Dsocket.c47 fd = socket(s->domain, s->type, s->protocol); in run_tests()
Dreuseport_dualstack.c55 rcv_fds[i] = socket(family, proto, 0); in build_rcv_fd()
85 fd = socket(AF_INET, proto, 0); in send_from_v4()
Dreuseport_bpf_cpu.c59 rcv_fd[i] = socket(family, proto, 0); in build_rcv_group()
133 fd = socket(family, proto, 0); in send_from_cpu()
Dpsock_fanout.c78 fd = socket(PF_PACKET, SOCK_DGRAM, htons(ETH_P_IP)); in sock_fanout_open()
Dpsock_tpacket.c113 int ret, sock = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in pfsocket()
367 rcv_sock = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in walk_v1_v2_tx()
/tools/perf/Documentation/
Dperf-stat.txt154 --per-socket::
155 Aggregate counts per processor socket for system-wide mode measurements. This
157 use --per-socket in addition to -a. (system-wide). The output includes the
158 socket number and the number of online processors on that socket. This is
197 --per-socket::
198 Aggregate counts per processor socket for system-wide mode measurements.
268 - optional CPU, core, or socket identifier
Dperf-report.txt71 pid, comm, dso, symbol, parent, cpu, socket, srcline, weight, local_weight.
82 - socket: processor socket number the task ran at the time of sample
406 --socket-filter::
407 Only report the samples on the processor socket that match with this filter
Dperf-list.txt125 Some PMUs are not associated with a core, but with a whole CPU socket.
128 all the CPUs in the same socket.
131 on the first memory controller on socket 0 of a Intel Xeon system
/tools/usb/usbip/
Dconfigure.ac32 string.h sys/socket.h syslog.h unistd.h])
44 AC_CHECK_FUNCS([memset mkdir regcomp socket strchr strerror strstr dnl
/tools/testing/selftests/networking/timestamping/
Dhwtstamp_config.c107 sock = socket(AF_INET, SOCK_DGRAM, 0); in main()
Dtimestamping.c367 sock = socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP); in main()
Dtxtimestamp.c292 fd = socket(family, cfg_proto, cfg_ipproto); in do_test()
/tools/perf/util/
Dsort.h96 s32 socket; member
Dsymbol.h210 s32 socket; member
Dsort.c544 return right->socket - left->socket; in sort__socket_cmp()
550 return repsep_snprintf(bf, size, "%*.*d", width, width-3, he->socket); in hist_entry__socket_snprintf()
560 return sk >= 0 && he->socket != sk; in hist_entry__socket_filter()
2352 list->socket = 1; in sort_dimension__add()
/tools/usb/usbip/src/
Dusbip_network.c281 sockfd = socket(rp->ai_family, rp->ai_socktype, in usbip_net_tcp_connect()
Dusbipd.c388 sock = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol); in listen_all_addrinfo()
/tools/perf/ui/browsers/
Dhists.c2340 int socket; member
2612 if (!hists__has(browser->hists, socket) || act->socket < 0) in do_zoom_socket()
2620 browser->hists->socket_filter = act->socket; in do_zoom_socket()
2634 if (!hists__has(browser->hists, socket) || socket_id < 0) in add_socket_opt()
2642 act->socket = socket_id; in add_socket_opt()
2799 socked_id = browser->he_selection->socket; in perf_evsel__hists_browse()
2843 actions->socket = socked_id; in perf_evsel__hists_browse()
/tools/accounting/
Dgetdelays.c93 fd = socket(AF_NETLINK, SOCK_RAW, protocol); in create_nl_socket()

12