/tools/perf/util/ |
D | cloexec.c | 28 char sbuf[STRERR_BUFSIZE]; in perf_flag_probe() local 57 err, str_error_r(err, sbuf, sizeof(sbuf))); in perf_flag_probe() 75 err, str_error_r(err, sbuf, sizeof(sbuf)))) in perf_flag_probe()
|
D | mutex.c | 10 char sbuf[STRERR_BUFSIZE]; in check_err() local 15 pr_err("%s error: '%s'\n", fn, str_error_r(err, sbuf, sizeof(sbuf))); in check_err()
|
D | data.c | 252 char sbuf[STRERR_BUFSIZE]; in open_file_read() local 259 str_error_r(err, sbuf, sizeof(sbuf))); in open_file_read() 292 char sbuf[STRERR_BUFSIZE]; in open_file_write() local 299 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()
|
/tools/perf/bench/ |
D | evlist-open-close.c | 117 char sbuf[STRERR_BUFSIZE]; in bench__do_evlist_open_close() local 121 pr_err("evlist__open: %s\n", str_error_r(errno, sbuf, sizeof(sbuf))); in bench__do_evlist_open_close() 127 pr_err("evlist__mmap: %s\n", str_error_r(errno, sbuf, sizeof(sbuf))); in bench__do_evlist_open_close() 193 char sbuf[STRERR_BUFSIZE]; in bench__repeat_event_string() local 200 pr_err("strbuf_init: %s\n", str_error_r(err, sbuf, sizeof(sbuf))); in bench__repeat_event_string() 207 pr_err("strbuf_add: %s\n", str_error_r(err, sbuf, sizeof(sbuf))); in bench__repeat_event_string() 213 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 136 str_error_r(errno, sbuf, sizeof(sbuf))); in test__backward_ring_buffer() 157 str_error_r(errno, sbuf, sizeof(sbuf))); in test__backward_ring_buffer()
|
D | openat-syscall-all-cpus.c | 32 char sbuf[STRERR_BUFSIZE]; in test__openat_syscall_event_on_all_cpus() local 59 str_error_r(errno, sbuf, sizeof(sbuf))); in test__openat_syscall_event_on_all_cpus() 81 str_error_r(errno, sbuf, sizeof(sbuf))); in test__openat_syscall_event_on_all_cpus()
|
D | sw-clock.c | 34 char sbuf[STRERR_BUFSIZE]; in __test__sw_clock_freq() local 80 str_error_r(errno, sbuf, sizeof(sbuf)), in __test__sw_clock_freq() 88 str_error_r(errno, sbuf, sizeof(sbuf))); in __test__sw_clock_freq()
|
D | openat-syscall-tp-fields.c | 44 char sbuf[STRERR_BUFSIZE]; in test__syscall_openat_tp_fields() local 72 str_error_r(errno, sbuf, sizeof(sbuf))); in test__syscall_openat_tp_fields() 79 str_error_r(errno, sbuf, sizeof(sbuf))); in test__syscall_openat_tp_fields()
|
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 | sigtrap.c | 179 char sbuf[STRERR_BUFSIZE]; in test__sigtrap() local 193 pr_debug("FAILED sigaction(): %s\n", str_error_r(errno, sbuf, sizeof(sbuf))); in test__sigtrap() 201 str_error_r(errno, sbuf, sizeof(sbuf))); in test__sigtrap() 211 pr_debug("FAILED pthread_create(): %s\n", str_error_r(errno, sbuf, sizeof(sbuf))); in test__sigtrap()
|
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 | 24 char sbuf[STRERR_BUFSIZE]; in test__openat_syscall_event() local 43 str_error_r(errno, sbuf, sizeof(sbuf))); in test__openat_syscall_event()
|
D | mmap-basic.c | 46 char sbuf[STRERR_BUFSIZE]; in test__basic_mmap() local 67 str_error_r(errno, sbuf, sizeof(sbuf))); in test__basic_mmap() 101 str_error_r(errno, sbuf, sizeof(sbuf))); in test__basic_mmap() 111 str_error_r(errno, sbuf, sizeof(sbuf))); in test__basic_mmap()
|
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()
|
D | builtin-test.c | 214 char sbuf[STRERR_BUFSIZE]; in run_test() local 218 str_error_r(errno, sbuf, sizeof(sbuf))); in run_test()
|
/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 | 382 char sbuf[STRERR_BUFSIZE]; in cmd_buildid_cache() local 475 pos->s, str_error_r(errno, sbuf, sizeof(sbuf))); in cmd_buildid_cache() 493 pos->s, str_error_r(errno, sbuf, sizeof(sbuf))); in cmd_buildid_cache() 511 pos->s, str_error_r(errno, sbuf, sizeof(sbuf))); in cmd_buildid_cache() 521 str_error_r(errno, sbuf, sizeof(sbuf))); in cmd_buildid_cache() 539 pos->s, str_error_r(errno, sbuf, sizeof(sbuf))); in cmd_buildid_cache()
|
D | perf.c | 309 char sbuf[STRERR_BUFSIZE]; in run_builtin() local 341 str_error_r(errno, sbuf, sizeof(sbuf))); in run_builtin() 350 str_error_r(errno, sbuf, sizeof(sbuf))); in run_builtin() 436 char sbuf[STRERR_BUFSIZE]; in main() local 548 cmd, str_error_r(errno, sbuf, sizeof(sbuf))); in main()
|
D | builtin-help.c | 121 char sbuf[STRERR_BUFSIZE]; in exec_failed() local 122 pr_warning("failed to exec '%s': %s", cmd, str_error_r(errno, sbuf, sizeof(sbuf))); in exec_failed()
|
/tools/lib/api/fs/ |
D | tracing_path.c | 130 char sbuf[128]; in tracing_path__strerror_open_tp() local 173 snprintf(buf, size, "%s", str_error_r(err, sbuf, sizeof(sbuf))); in tracing_path__strerror_open_tp()
|
D | fs.c | 354 char sbuf[STRERR_BUFSIZE]; in filename__read_str() local 376 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()
|
/tools/testing/selftests/net/ |
D | tap.c | 235 uint16_t *sbuf = (uint16_t *)buf; in add_csum() local 238 sum += *sbuf++; in add_csum() 243 sum += *(uint8_t *)sbuf; in add_csum()
|