/tools/perf/bench/ |
D | evlist-open-close.c | 110 char sbuf[STRERR_BUFSIZE]; in bench__do_evlist_open_close() local 114 pr_err("evlist__open: %s\n", str_error_r(errno, sbuf, sizeof(sbuf))); in bench__do_evlist_open_close() 120 pr_err("evlist__mmap: %s\n", str_error_r(errno, sbuf, sizeof(sbuf))); in bench__do_evlist_open_close() 186 char sbuf[STRERR_BUFSIZE]; in bench__repeat_event_string() local 193 pr_err("strbuf_init: %s\n", str_error_r(err, sbuf, sizeof(sbuf))); in bench__repeat_event_string() 200 pr_err("strbuf_add: %s\n", str_error_r(err, sbuf, sizeof(sbuf))); in bench__repeat_event_string() 206 pr_err("strbuf_addch: %s\n", str_error_r(err, sbuf, sizeof(sbuf))); in bench__repeat_event_string()
|
/tools/perf/tests/ |
D | backward-ring-buffer.c | 66 char sbuf[STRERR_BUFSIZE]; in do_test() local 71 str_error_r(errno, sbuf, sizeof(sbuf))); in do_test() 88 char pid[16], sbuf[STRERR_BUFSIZE]; in test__backward_ring_buffer() local 135 str_error_r(errno, sbuf, sizeof(sbuf))); in test__backward_ring_buffer() 156 str_error_r(errno, sbuf, sizeof(sbuf))); in test__backward_ring_buffer()
|
D | mmap-basic.c | 46 char sbuf[STRERR_BUFSIZE]; in test__basic_mmap() local 66 cpus->map[0], str_error_r(errno, sbuf, sizeof(sbuf))); in test__basic_mmap() 96 str_error_r(errno, sbuf, sizeof(sbuf))); in test__basic_mmap() 106 str_error_r(errno, sbuf, sizeof(sbuf))); in test__basic_mmap()
|
D | openat-syscall-all-cpus.c | 30 char sbuf[STRERR_BUFSIZE]; in test__openat_syscall_event_on_all_cpus() local 56 str_error_r(errno, sbuf, sizeof(sbuf))); in test__openat_syscall_event_on_all_cpus() 77 str_error_r(errno, sbuf, sizeof(sbuf))); in test__openat_syscall_event_on_all_cpus()
|
D | openat-syscall-tp-fields.c | 42 char sbuf[STRERR_BUFSIZE]; in test__syscall_openat_tp_fields() local 70 str_error_r(errno, sbuf, sizeof(sbuf))); in test__syscall_openat_tp_fields() 77 str_error_r(errno, sbuf, sizeof(sbuf))); in test__syscall_openat_tp_fields()
|
D | sw-clock.c | 33 char sbuf[STRERR_BUFSIZE]; in __test__sw_clock_freq() local 79 str_error_r(errno, sbuf, sizeof(sbuf)), in __test__sw_clock_freq() 87 str_error_r(errno, sbuf, sizeof(sbuf))); in __test__sw_clock_freq()
|
D | task-exit.c | 53 char sbuf[STRERR_BUFSIZE]; in test__task_exit() local 104 str_error_r(-err, sbuf, sizeof(sbuf))); in test__task_exit() 110 str_error_r(errno, sbuf, sizeof(sbuf))); in test__task_exit()
|
D | perf-record.c | 71 char sbuf[STRERR_BUFSIZE]; in test__PERF_RECORD() local 117 str_error_r(errno, sbuf, sizeof(sbuf))); in test__PERF_RECORD() 128 str_error_r(errno, sbuf, sizeof(sbuf))); in test__PERF_RECORD() 139 str_error_r(errno, sbuf, sizeof(sbuf))); in test__PERF_RECORD() 151 str_error_r(errno, sbuf, sizeof(sbuf))); in test__PERF_RECORD()
|
D | openat-syscall.c | 22 char sbuf[STRERR_BUFSIZE]; in test__openat_syscall_event() local 40 str_error_r(errno, sbuf, sizeof(sbuf))); in test__openat_syscall_event()
|
D | bpf.c | 119 char sbuf[STRERR_BUFSIZE]; in do_test() local 162 str_error_r(errno, sbuf, sizeof(sbuf))); in do_test() 169 str_error_r(errno, sbuf, sizeof(sbuf))); in do_test()
|
D | event-times.c | 24 char sbuf[STRERR_BUFSIZE]; in attach__enable_on_exec() local 46 str_error_r(errno, sbuf, sizeof(sbuf))); in attach__enable_on_exec()
|
/tools/perf/util/ |
D | cloexec.c | 41 char sbuf[STRERR_BUFSIZE]; in perf_flag_probe() local 70 err, str_error_r(err, sbuf, sizeof(sbuf))); in perf_flag_probe() 88 err, str_error_r(err, sbuf, sizeof(sbuf)))) in perf_flag_probe()
|
D | data.c | 247 char sbuf[STRERR_BUFSIZE]; in open_file_read() local 254 str_error_r(err, sbuf, sizeof(sbuf))); in open_file_read() 287 char sbuf[STRERR_BUFSIZE]; in open_file_write() local 294 str_error_r(errno, sbuf, sizeof(sbuf))); in open_file_write()
|
D | probe-file.c | 76 char sbuf[STRERR_BUFSIZE]; in print_open_warning() local 86 str_error_r(-err, sbuf, sizeof(sbuf))); in print_open_warning() 91 char sbuf[STRERR_BUFSIZE]; in print_both_open_warning() local 102 str_error_r(-kerr, sbuf, sizeof(sbuf))); in print_both_open_warning() 106 str_error_r(-uerr, sbuf, sizeof(sbuf))); in print_both_open_warning() 269 char sbuf[STRERR_BUFSIZE]; in probe_file__add_event() local 281 str_error_r(errno, sbuf, sizeof(sbuf))); in probe_file__add_event()
|
D | bpf-loader.c | 1637 char sbuf[STRERR_BUFSIZE]; in bpf_loader_strerror() local 1659 str_error_r(err, sbuf, sizeof(sbuf))); in bpf_loader_strerror() 1666 char sbuf[STRERR_BUFSIZE], *emsg;\ 1671 bpf_loader_strerror(err, sbuf, sizeof(sbuf));\ 1672 emsg = sbuf;\
|
/tools/perf/arch/x86/tests/ |
D | rdpmc.c | 109 char sbuf[STRERR_BUFSIZE]; in __test__rdpmc() local 121 str_error_r(errno, sbuf, sizeof(sbuf))); in __test__rdpmc() 128 str_error_r(errno, sbuf, sizeof(sbuf))); in __test__rdpmc()
|
/tools/lib/subcmd/ |
D | run-command.c | 33 char sbuf[STRERR_BUFSIZE]; in start_command() local 114 cmd->dir, str_error_r(errno, sbuf, sizeof(sbuf))); in start_command() 168 char sbuf[STRERR_BUFSIZE]; in wait_or_whine() local 178 str_error_r(errno, sbuf, sizeof(sbuf))); in wait_or_whine()
|
/tools/perf/ |
D | builtin-buildid-cache.c | 378 char sbuf[STRERR_BUFSIZE]; in cmd_buildid_cache() local 472 pos->s, str_error_r(errno, sbuf, sizeof(sbuf))); in cmd_buildid_cache() 490 pos->s, str_error_r(errno, sbuf, sizeof(sbuf))); in cmd_buildid_cache() 508 pos->s, str_error_r(errno, sbuf, sizeof(sbuf))); in cmd_buildid_cache() 518 str_error_r(errno, sbuf, sizeof(sbuf))); in cmd_buildid_cache() 536 pos->s, str_error_r(errno, sbuf, sizeof(sbuf))); in cmd_buildid_cache()
|
D | perf.c | 300 char sbuf[STRERR_BUFSIZE]; in run_builtin() local 333 str_error_r(errno, sbuf, sizeof(sbuf))); in run_builtin() 342 str_error_r(errno, sbuf, sizeof(sbuf))); in run_builtin() 444 char sbuf[STRERR_BUFSIZE]; in main() local 552 cmd, str_error_r(errno, sbuf, sizeof(sbuf))); in main()
|
D | builtin-help.c | 119 char sbuf[STRERR_BUFSIZE]; in exec_failed() local 120 pr_warning("failed to exec '%s': %s", cmd, str_error_r(errno, sbuf, sizeof(sbuf))); in exec_failed()
|
D | builtin-probe.c | 327 char sbuf[STRERR_BUFSIZE]; in pr_err_with_code() local 331 str_error_r(-err, sbuf, sizeof(sbuf)), err); in pr_err_with_code()
|
/tools/lib/api/fs/ |
D | tracing_path.c | 119 char sbuf[128]; in tracing_path__strerror_open_tp() local 162 snprintf(buf, size, "%s", str_error_r(err, sbuf, sizeof(sbuf))); in tracing_path__strerror_open_tp()
|
D | fs.c | 382 char sbuf[STRERR_BUFSIZE]; in filename__read_str() local 404 strerror_r(errno, sbuf, sizeof(sbuf))); in filename__read_str()
|
/tools/testing/selftests/sync/ |
D | sync_test.c | 67 struct stat sbuf; in sync_api_supported() local 70 ret = stat("/sys/kernel/debug/sync/sw_sync", &sbuf); in sync_api_supported()
|
/tools/usb/usbip/src/ |
D | usbipd.c | 364 char sbuf[NI_MAXSERV]; in addrinfo_to_text() local 370 sbuf, sizeof(sbuf), NI_NUMERICHOST | NI_NUMERICSERV); in addrinfo_to_text() 374 snprintf(buf, buf_size, "%s:%s", hbuf, sbuf); in addrinfo_to_text()
|