Home
last modified time | relevance | path

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

12

/tools/perf/util/
A Dcloexec.c28 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()
A Dmutex.c10 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()
A Ddata.c249 char sbuf[STRERR_BUFSIZE]; in open_file_read() local
256 str_error_r(err, sbuf, sizeof(sbuf))); in open_file_read()
289 char sbuf[STRERR_BUFSIZE]; in open_file_write() local
296 str_error_r(errno, sbuf, sizeof(sbuf))); in open_file_write()
A 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()
/tools/perf/bench/
A 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/
A 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()
A Dopenat-syscall-all-cpus.c32 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()
A Dsw-clock.c34 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()
A Dopenat-syscall-tp-fields.c43 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()
A Dtask-exit.c52 char sbuf[STRERR_BUFSIZE]; in test__task_exit() local
103 str_error_r(-err, sbuf, sizeof(sbuf))); in test__task_exit()
109 str_error_r(errno, sbuf, sizeof(sbuf))); in test__task_exit()
A Dperf-record.c70 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()
A Dsigtrap.c226 char sbuf[STRERR_BUFSIZE]; in test__sigtrap() local
240 pr_debug("FAILED sigaction(): %s\n", str_error_r(errno, sbuf, sizeof(sbuf))); in test__sigtrap()
248 str_error_r(errno, sbuf, sizeof(sbuf))); in test__sigtrap()
258 pr_debug("FAILED pthread_create(): %s\n", str_error_r(errno, sbuf, sizeof(sbuf))); in test__sigtrap()
A Dopenat-syscall.c24 char sbuf[STRERR_BUFSIZE]; in test__openat_syscall_event() local
43 str_error_r(errno, sbuf, sizeof(sbuf))); in test__openat_syscall_event()
A Dmmap-basic.c49 char sbuf[STRERR_BUFSIZE]; in test__basic_mmap() local
70 str_error_r(errno, sbuf, sizeof(sbuf))); in test__basic_mmap()
104 str_error_r(errno, sbuf, sizeof(sbuf))); in test__basic_mmap()
114 str_error_r(errno, sbuf, sizeof(sbuf))); in test__basic_mmap()
A Devent-times.c22 char sbuf[STRERR_BUFSIZE]; in attach__enable_on_exec() local
44 str_error_r(errno, sbuf, sizeof(sbuf))); in attach__enable_on_exec()
/tools/perf/
A Dbuiltin-buildid-cache.c384 char sbuf[STRERR_BUFSIZE]; in cmd_buildid_cache() local
477 pos->s, str_error_r(errno, sbuf, sizeof(sbuf))); in cmd_buildid_cache()
495 pos->s, str_error_r(errno, sbuf, sizeof(sbuf))); in cmd_buildid_cache()
513 pos->s, str_error_r(errno, sbuf, sizeof(sbuf))); in cmd_buildid_cache()
523 str_error_r(errno, sbuf, sizeof(sbuf))); in cmd_buildid_cache()
541 pos->s, str_error_r(errno, sbuf, sizeof(sbuf))); in cmd_buildid_cache()
A Dperf.c338 char sbuf[STRERR_BUFSIZE]; in run_builtin() local
367 str_error_r(errno, sbuf, sizeof(sbuf))); in run_builtin()
376 str_error_r(errno, sbuf, sizeof(sbuf))); in run_builtin()
462 char sbuf[STRERR_BUFSIZE]; in main() local
577 cmd, str_error_r(errno, sbuf, sizeof(sbuf))); in main()
A Dbuiltin-help.c121 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()
A Dbuiltin-probe.c336 char sbuf[STRERR_BUFSIZE]; in pr_err_with_code() local
340 str_error_r(-err, sbuf, sizeof(sbuf)), err); in pr_err_with_code()
/tools/lib/api/fs/
A Dtracing_path.c130 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()
/tools/lib/subcmd/
A Drun-command.c35 char sbuf[STRERR_BUFSIZE]; in start_command() local
116 cmd->dir, str_error_r(errno, sbuf, sizeof(sbuf))); in start_command()
187 char sbuf[STRERR_BUFSIZE]; in wait_or_whine() local
190 str_error_r(errno, sbuf, sizeof(sbuf))); in wait_or_whine()
/tools/testing/selftests/sync/
A 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/testing/selftests/mm/
A Dpagemap_ioctl.c1058 struct stat sbuf; in sanity_tests() local
1162 ret = stat(progname, &sbuf); in sanity_tests()
1170 tmp_buf = malloc(sbuf.st_size); in sanity_tests()
1171 memcpy(tmp_buf, fmem, sbuf.st_size); in sanity_tests()
1181 munmap(fmem, sbuf.st_size); in sanity_tests()
1549 struct stat sbuf; in main() local
1667 ret = stat(__FILE__".tmp0", &sbuf); in main()
1675 wp_init(fmem, sbuf.st_size); in main()
1676 wp_addr_range(fmem, sbuf.st_size); in main()
1680 wp_free(fmem, sbuf.st_size); in main()
[all …]
/tools/usb/usbip/src/
A 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()
/tools/testing/selftests/net/
A Dtap.c235 uint16_t *sbuf = (uint16_t *)buf; in add_csum() local
238 sum += *sbuf++; in add_csum()
243 sum += *(uint8_t *)sbuf; in add_csum()

Completed in 30 milliseconds

12