Home
last modified time | relevance | path

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

12

/tools/perf/util/
Dcloexec.c41 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()
Ddata.c224 char sbuf[STRERR_BUFSIZE]; in open_file_read() local
231 str_error_r(err, sbuf, sizeof(sbuf))); in open_file_read()
264 char sbuf[STRERR_BUFSIZE]; in open_file_write() local
271 str_error_r(errno, sbuf, sizeof(sbuf))); in open_file_write()
Dprobe-file.c36 char sbuf[STRERR_BUFSIZE]; in print_open_warning() local
54 str_error_r(-err, sbuf, sizeof(sbuf))); in print_open_warning()
66 char sbuf[STRERR_BUFSIZE]; in print_both_open_warning() local
68 str_error_r(-kerr, sbuf, sizeof(sbuf))); in print_both_open_warning()
70 str_error_r(-uerr, sbuf, sizeof(sbuf))); in print_both_open_warning()
231 char sbuf[STRERR_BUFSIZE]; in probe_file__add_event() local
243 str_error_r(errno, sbuf, sizeof(sbuf))); in probe_file__add_event()
Ddso.c450 char sbuf[STRERR_BUFSIZE]; in do_open() local
458 str_error_r(errno, sbuf, sizeof(sbuf))); in do_open()
954 char sbuf[STRERR_BUFSIZE]; in file_size() local
973 str_error_r(errno, sbuf, sizeof(sbuf))); in file_size()
/tools/perf/tests/
Dbackward-ring-buffer.c65 char sbuf[STRERR_BUFSIZE]; in do_test() local
70 str_error_r(errno, sbuf, sizeof(sbuf))); in do_test()
87 char pid[16], sbuf[STRERR_BUFSIZE]; in test__backward_ring_buffer() local
134 str_error_r(errno, sbuf, sizeof(sbuf))); in test__backward_ring_buffer()
155 str_error_r(errno, sbuf, sizeof(sbuf))); in test__backward_ring_buffer()
Dmmap-basic.c45 char sbuf[STRERR_BUFSIZE]; in test__basic_mmap() local
65 cpus->map[0], str_error_r(errno, sbuf, sizeof(sbuf))); in test__basic_mmap()
95 str_error_r(errno, sbuf, sizeof(sbuf))); in test__basic_mmap()
105 str_error_r(errno, sbuf, sizeof(sbuf))); in test__basic_mmap()
Dopenat-syscall-all-cpus.c31 char sbuf[STRERR_BUFSIZE]; in test__openat_syscall_event_on_all_cpus() local
57 str_error_r(errno, sbuf, sizeof(sbuf))); in test__openat_syscall_event_on_all_cpus()
78 str_error_r(errno, sbuf, sizeof(sbuf))); in test__openat_syscall_event_on_all_cpus()
Dopenat-syscall-tp-fields.c41 char sbuf[STRERR_BUFSIZE]; in test__syscall_openat_tp_fields() local
69 str_error_r(errno, sbuf, sizeof(sbuf))); in test__syscall_openat_tp_fields()
76 str_error_r(errno, sbuf, sizeof(sbuf))); in test__syscall_openat_tp_fields()
Dtask-exit.c52 char sbuf[STRERR_BUFSIZE]; in test__task_exit() local
107 str_error_r(-err, sbuf, sizeof(sbuf))); in test__task_exit()
113 str_error_r(errno, sbuf, sizeof(sbuf))); in test__task_exit()
Dsw-clock.c32 char sbuf[STRERR_BUFSIZE]; in __test__sw_clock_freq() local
81 str_error_r(errno, sbuf, sizeof(sbuf)), in __test__sw_clock_freq()
89 str_error_r(errno, sbuf, sizeof(sbuf))); in __test__sw_clock_freq()
Dperf-record.c70 char sbuf[STRERR_BUFSIZE]; in test__PERF_RECORD() local
116 str_error_r(errno, sbuf, sizeof(sbuf))); in test__PERF_RECORD()
127 str_error_r(errno, sbuf, sizeof(sbuf))); in test__PERF_RECORD()
138 str_error_r(errno, sbuf, sizeof(sbuf))); in test__PERF_RECORD()
150 str_error_r(errno, sbuf, sizeof(sbuf))); in test__PERF_RECORD()
Dopenat-syscall.c22 char sbuf[STRERR_BUFSIZE]; in test__openat_syscall_event() local
40 str_error_r(errno, sbuf, sizeof(sbuf))); in test__openat_syscall_event()
Dbpf.c124 char sbuf[STRERR_BUFSIZE]; in do_test() local
167 str_error_r(errno, sbuf, sizeof(sbuf))); in do_test()
174 str_error_r(errno, sbuf, sizeof(sbuf))); in do_test()
Devent-times.c24 char sbuf[STRERR_BUFSIZE]; in attach__enable_on_exec() local
46 str_error_r(errno, sbuf, sizeof(sbuf))); in attach__enable_on_exec()
Dbuiltin-test.c340 char sbuf[STRERR_BUFSIZE]; in run_test() local
344 str_error_r(errno, sbuf, sizeof(sbuf))); in run_test()
/tools/perf/arch/x86/tests/
Drdpmc.c109 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/
Drun-command.c33 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/
Dbuiltin-buildid-cache.c368 char sbuf[STRERR_BUFSIZE]; in cmd_buildid_cache() local
451 pos->s, str_error_r(errno, sbuf, sizeof(sbuf))); in cmd_buildid_cache()
469 pos->s, str_error_r(errno, sbuf, sizeof(sbuf))); in cmd_buildid_cache()
487 pos->s, str_error_r(errno, sbuf, sizeof(sbuf))); in cmd_buildid_cache()
497 str_error_r(errno, sbuf, sizeof(sbuf))); in cmd_buildid_cache()
515 pos->s, str_error_r(errno, sbuf, sizeof(sbuf))); in cmd_buildid_cache()
Dperf.c299 char sbuf[STRERR_BUFSIZE]; in run_builtin() local
332 str_error_r(errno, sbuf, sizeof(sbuf))); in run_builtin()
341 str_error_r(errno, sbuf, sizeof(sbuf))); in run_builtin()
443 char sbuf[STRERR_BUFSIZE]; in main() local
551 cmd, str_error_r(errno, sbuf, sizeof(sbuf))); in main()
Dbuiltin-help.c119 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()
Dbuiltin-probe.c327 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/
Dtracing_path.c119 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()
Dfs.c363 char sbuf[STRERR_BUFSIZE]; in filename__read_str() local
385 strerror_r(errno, sbuf, sizeof(sbuf))); in filename__read_str()
/tools/testing/selftests/sync/
Dsync_test.c67 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/
Dusbipd.c364 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()

12