Home
last modified time | relevance | path

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

/tools/perf/util/
Dllvm-utils.c119 char serr[STRERR_BUFSIZE]; in read_from_pipe() local
124 str_error_r(errno, serr, sizeof(serr))); in read_from_pipe()
158 str_error_r(errno, serr, sizeof(serr))); in read_from_pipe()
380 char serr[STRERR_BUFSIZE]; in llvm__get_nr_cpus() local
389 " \tUse 128 instead.\n", str_error_r(errno, serr, sizeof(serr))); in llvm__get_nr_cpus()
440 char serr[STRERR_BUFSIZE]; in llvm__compile_bpf() local
452 path, str_error_r(err, serr, sizeof(serr))); in llvm__compile_bpf()
/tools/testing/selftests/tc-testing/plugin-lib/
DbuildebpfPlugin.py58 (rawout, serr) = proc.communicate()
60 if proc.returncode != 0 and len(serr) > 0:
61 foutput = serr.decode("utf-8")
DnsPlugin.py137 (rawout, serr) = proc.communicate()
139 if proc.returncode != 0 and len(serr) > 0:
140 foutput = serr.decode("utf-8")
/tools/testing/selftests/networking/timestamping/
Dtxtimestamp.c215 struct sock_extended_err *serr = NULL; in __recv_errmsg_cmsg() local
232 serr = (void *) CMSG_DATA(cm); in __recv_errmsg_cmsg()
233 if (serr->ee_errno != ENOMSG || in __recv_errmsg_cmsg()
234 serr->ee_origin != SO_EE_ORIGIN_TIMESTAMPING) { in __recv_errmsg_cmsg()
236 serr->ee_errno, in __recv_errmsg_cmsg()
237 serr->ee_origin); in __recv_errmsg_cmsg()
238 serr = NULL; in __recv_errmsg_cmsg()
254 if (serr && tss) { in __recv_errmsg_cmsg()
255 print_timestamp(tss, serr->ee_info, serr->ee_data, in __recv_errmsg_cmsg()
257 serr = NULL; in __recv_errmsg_cmsg()
/tools/testing/selftests/net/
Dmsg_zerocopy.c394 struct sock_extended_err *serr; in do_recv_completion() local
424 serr = (void *) CMSG_DATA(cm); in do_recv_completion()
426 if (serr->ee_origin != SO_EE_ORIGIN_ZEROCOPY) in do_recv_completion()
427 error(1, 0, "serr: wrong origin: %u", serr->ee_origin); in do_recv_completion()
428 if (serr->ee_errno != 0) in do_recv_completion()
429 error(1, 0, "serr: wrong error code: %u", serr->ee_errno); in do_recv_completion()
431 hi = serr->ee_data; in do_recv_completion()
432 lo = serr->ee_info; in do_recv_completion()
443 zerocopy = !(serr->ee_code & SO_EE_CODE_ZEROCOPY_COPIED); in do_recv_completion()
/tools/testing/selftests/tc-testing/
Dtdc.py200 (rawout, serr) = proc.communicate(timeout=NAMES['TIMEOUT'])
201 if proc.returncode != 0 and len(serr) > 0:
202 foutput = serr.decode("utf-8", errors="ignore")
/tools/perf/
Dbuiltin-top.c801 char serr[256]; in perf_event__process_sample() local
802 dso__strerror_load(al.map->dso, serr, sizeof(serr)); in perf_event__process_sample()
804 symbol_conf.vmlinux_name, serr, msg); in perf_event__process_sample()