Home
last modified time | relevance | path

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

12

/tools/perf/util/
Dcloexec.c28 char sbuf[STRERR_BUFSIZE]; in perf_flag_probe() local
57 err, strerror_r(err, sbuf, sizeof(sbuf))); in perf_flag_probe()
75 err, strerror_r(err, sbuf, sizeof(sbuf)))) in perf_flag_probe()
Ddata.c53 char sbuf[STRERR_BUFSIZE]; in open_file_read() local
60 strerror_r(err, sbuf, sizeof(sbuf))); in open_file_read()
93 char sbuf[STRERR_BUFSIZE]; in open_file_write() local
102 strerror_r(errno, sbuf, sizeof(sbuf))); in open_file_write()
Drun-command.c23 char sbuf[STRERR_BUFSIZE]; in start_command() local
104 cmd->dir, strerror_r(errno, sbuf, sizeof(sbuf))); in start_command()
158 char sbuf[STRERR_BUFSIZE]; in wait_or_whine() local
168 strerror_r(errno, sbuf, sizeof(sbuf))); in wait_or_whine()
Dprobe-event.c577 char buf[LINEBUF_SIZE], sbuf[STRERR_BUFSIZE]; in __show_one_line() local
598 strerror_r(errno, sbuf, sizeof(sbuf))); in __show_one_line()
631 char sbuf[STRERR_BUFSIZE]; in __show_line_range() local
668 strerror_r(errno, sbuf, sizeof(sbuf))); in __show_line_range()
1792 char sbuf[STRERR_BUFSIZE]; in print_open_warning() local
1810 strerror_r(-err, sbuf, sizeof(sbuf))); in print_open_warning()
1822 char sbuf[STRERR_BUFSIZE]; in print_both_open_warning() local
1824 strerror_r(-kerr, sbuf, sizeof(sbuf))); in print_both_open_warning()
1826 strerror_r(-uerr, sbuf, sizeof(sbuf))); in print_both_open_warning()
2043 char sbuf[STRERR_BUFSIZE]; in write_probe_trace_event() local
[all …]
Dutil.c467 char sbuf[STRERR_BUFSIZE]; in filename__read_str() local
489 strerror_r(errno, sbuf, sizeof(sbuf))); in filename__read_str()
Ddso.c165 char sbuf[STRERR_BUFSIZE]; in do_open() local
173 strerror_r(errno, sbuf, sizeof(sbuf))); in do_open()
535 char sbuf[STRERR_BUFSIZE]; in data_file_size() local
540 strerror_r(errno, sbuf, sizeof(sbuf))); in data_file_size()
Devlist.c1398 char sbuf[128]; in perf_evlist__strerror_tp() local
1415 scnprintf(buf, size, "%s", strerror_r(err, sbuf, sizeof(sbuf))); in perf_evlist__strerror_tp()
1426 char sbuf[STRERR_BUFSIZE], *emsg = strerror_r(err, sbuf, sizeof(sbuf)); in perf_evlist__strerror_open() local
Dprobe-finder.c284 char sbuf[STRERR_BUFSIZE]; in convert_variable_type() local
371 strerror_r(-ret, sbuf, sizeof(sbuf))); in convert_variable_type()
787 char sbuf[STRERR_BUFSIZE]; in find_lazy_match_lines() local
792 strerror_r(errno, sbuf, sizeof(sbuf))); in find_lazy_match_lines()
Dparse-events.c1109 char sbuf[STRERR_BUFSIZE]; in print_tracepoint_events() local
1113 strerror_r(errno, sbuf, sizeof(sbuf))); in print_tracepoint_events()
/tools/perf/tests/
Dmmap-basic.c34 char sbuf[STRERR_BUFSIZE]; in test__basic_mmap() local
53 cpus->map[0], strerror_r(errno, sbuf, sizeof(sbuf))); in test__basic_mmap()
83 strerror_r(errno, sbuf, sizeof(sbuf))); in test__basic_mmap()
93 strerror_r(errno, sbuf, sizeof(sbuf))); in test__basic_mmap()
Dtask-exit.c45 char sbuf[STRERR_BUFSIZE]; in test__task_exit() local
87 strerror_r(-err, sbuf, sizeof(sbuf))); in test__task_exit()
93 strerror_r(errno, sbuf, sizeof(sbuf))); in test__task_exit()
Dsw-clock.c25 char sbuf[STRERR_BUFSIZE]; in __test__sw_clock_freq() local
66 strerror_r(errno, sbuf, sizeof(sbuf)), in __test__sw_clock_freq()
74 strerror_r(errno, sbuf, sizeof(sbuf))); in __test__sw_clock_freq()
Dopen-syscall-tp-fields.c25 char sbuf[STRERR_BUFSIZE]; in test__syscall_open_tp_fields() local
53 strerror_r(errno, sbuf, sizeof(sbuf))); in test__syscall_open_tp_fields()
60 strerror_r(errno, sbuf, sizeof(sbuf))); in test__syscall_open_tp_fields()
Dopen-syscall-all-cpus.c15 char sbuf[STRERR_BUFSIZE]; in test__open_syscall_event_on_all_cpus() local
39 strerror_r(errno, sbuf, sizeof(sbuf))); in test__open_syscall_event_on_all_cpus()
60 strerror_r(errno, sbuf, sizeof(sbuf))); in test__open_syscall_event_on_all_cpus()
Dperf-record.c62 char sbuf[STRERR_BUFSIZE]; in test__PERF_RECORD() local
105 strerror_r(errno, sbuf, sizeof(sbuf))); in test__PERF_RECORD()
116 strerror_r(errno, sbuf, sizeof(sbuf))); in test__PERF_RECORD()
127 strerror_r(errno, sbuf, sizeof(sbuf))); in test__PERF_RECORD()
139 strerror_r(errno, sbuf, sizeof(sbuf))); in test__PERF_RECORD()
Dopen-syscall.c12 char sbuf[STRERR_BUFSIZE]; in test__open_syscall_event() local
28 strerror_r(errno, sbuf, sizeof(sbuf))); in test__open_syscall_event()
Drdpmc.c103 char sbuf[STRERR_BUFSIZE]; in __test__rdpmc() local
114 strerror_r(errno, sbuf, sizeof(sbuf))); in __test__rdpmc()
121 strerror_r(errno, sbuf, sizeof(sbuf))); in __test__rdpmc()
Dbuiltin-test.c201 char sbuf[STRERR_BUFSIZE]; in run_test() local
205 strerror_r(errno, sbuf, sizeof(sbuf))); in run_test()
/tools/perf/
Dbuiltin-help.c106 char sbuf[STRERR_BUFSIZE]; in exec_woman_emacs() local
117 strerror_r(errno, sbuf, sizeof(sbuf))); in exec_woman_emacs()
128 char sbuf[STRERR_BUFSIZE]; in exec_man_konqueror() local
148 strerror_r(errno, sbuf, sizeof(sbuf))); in exec_man_konqueror()
154 char sbuf[STRERR_BUFSIZE]; in exec_man_man() local
160 strerror_r(errno, sbuf, sizeof(sbuf))); in exec_man_man()
166 char sbuf[STRERR_BUFSIZE]; in exec_man_cmd() local
171 strerror_r(errno, sbuf, sizeof(sbuf))); in exec_man_cmd()
Dbuiltin-buildid-cache.c294 char sbuf[STRERR_BUFSIZE]; in cmd_buildid_cache() local
351 pos->s, strerror_r(errno, sbuf, sizeof(sbuf))); in cmd_buildid_cache()
369 pos->s, strerror_r(errno, sbuf, sizeof(sbuf))); in cmd_buildid_cache()
390 pos->s, strerror_r(errno, sbuf, sizeof(sbuf))); in cmd_buildid_cache()
Dperf.c316 char sbuf[STRERR_BUFSIZE]; in run_builtin() local
348 strerror_r(errno, sbuf, sizeof(sbuf))); in run_builtin()
357 strerror_r(errno, sbuf, sizeof(sbuf))); in run_builtin()
472 char sbuf[STRERR_BUFSIZE]; in main() local
568 cmd, strerror_r(errno, sbuf, sizeof(sbuf))); in main()
Dbuiltin-probe.c293 char sbuf[STRERR_BUFSIZE]; in pr_err_with_code() local
297 strerror_r(-err, sbuf, sizeof(sbuf)), err); in pr_err_with_code()
Dbuiltin-kvm.c979 char sbuf[STRERR_BUFSIZE]; in kvm_live_open_events() local
1017 strerror_r(errno, sbuf, sizeof(sbuf))); in kvm_live_open_events()
1023 strerror_r(errno, sbuf, sizeof(sbuf))); in kvm_live_open_events()
Dbuiltin-sched.c431 char sbuf[STRERR_BUFSIZE]; in self_open_counters() local
445 strerror_r(errno, sbuf, sizeof(sbuf))); in self_open_counters()
/tools/usb/usbip/src/
Dusbipd.c352 char sbuf[NI_MAXSERV]; in addrinfo_to_text() local
358 sbuf, sizeof(sbuf), NI_NUMERICHOST | NI_NUMERICSERV); in addrinfo_to_text()
362 snprintf(buf, buf_size, "%s:%s", hbuf, sbuf); in addrinfo_to_text()

12