Home
last modified time | relevance | path

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

12

/tools/perf/bench/
Devlist-open-close.c110 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/
Dbackward-ring-buffer.c66 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()
Dmmap-basic.c46 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()
Dopenat-syscall-all-cpus.c30 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()
Dopenat-syscall-tp-fields.c42 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()
Dsw-clock.c33 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()
Dtask-exit.c53 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()
Dperf-record.c71 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()
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.c119 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()
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()
/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.c247 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()
Dprobe-file.c76 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()
Dbpf-loader.c1637 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/
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.c378 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()
Dperf.c300 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()
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.c382 char sbuf[STRERR_BUFSIZE]; in filename__read_str() local
404 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