Home
last modified time | relevance | path

Searched refs:str_error_r (Results 1 – 25 of 37) sorted by relevance

12

/linux/tools/lib/api/
H A DBuild5 libapi-y += str_error_r.o
7 $(OUTPUT)str_error_r.o: ../str_error_r.c FORCE
/linux/tools/perf/bench/
H A Devlist-open-close.c115 pr_err("evlist__open: %s\n", str_error_r(errno, sbuf, sizeof(sbuf))); in bench__do_evlist_open_close()
121 pr_err("evlist__mmap: %s\n", str_error_r(errno, sbuf, sizeof(sbuf))); in bench__do_evlist_open_close()
194 pr_err("strbuf_init: %s\n", str_error_r(err, sbuf, sizeof(sbuf))); in bench__repeat_event_string()
201 pr_err("strbuf_add: %s\n", str_error_r(err, sbuf, sizeof(sbuf))); in bench__repeat_event_string()
207 pr_err("strbuf_addch: %s\n", str_error_r(err, sbuf, sizeof(sbuf))); in bench__repeat_event_string()
/linux/tools/objtool/
H A DBuild19 objtool-y += str_error_r.o
31 $(OUTPUT)str_error_r.o: ../lib/str_error_r.c FORCE
/linux/tools/perf/tests/
H A Dbackward-ring-buffer.c71 str_error_r(errno, sbuf, sizeof(sbuf))); in do_test()
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()
H A Dperf-record.c132 str_error_r(errno, sbuf, sizeof(sbuf))); in test__PERF_RECORD()
144 str_error_r(errno, sbuf, sizeof(sbuf))); in test__PERF_RECORD()
156 str_error_r(errno, sbuf, sizeof(sbuf))); in test__PERF_RECORD()
169 str_error_r(errno, sbuf, sizeof(sbuf))); in test__PERF_RECORD()
H A Dopenat-syscall-all-cpus.c59 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()
H A Dsw-clock.c81 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()
H A Dtask-exit.c103 str_error_r(-err, sbuf, sizeof(sbuf))); in test__task_exit()
109 str_error_r(errno, sbuf, sizeof(sbuf))); in test__task_exit()
H A Dopenat-syscall-tp-fields.c72 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()
H A Dmmap-basic.c70 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()
H A Dopenat-syscall.c43 str_error_r(errno, sbuf, sizeof(sbuf))); in test__openat_syscall_event()
H A Devent-times.c44 str_error_r(errno, sbuf, sizeof(sbuf))); in attach__enable_on_exec()
/linux/tools/perf/util/
H A Dcloexec.c57 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()
H A Dprobe-file.c87 str_error_r(-err, sbuf, sizeof(sbuf))); in print_open_warning()
103 str_error_r(-kerr, sbuf, sizeof(sbuf))); in print_both_open_warning()
107 str_error_r(-uerr, sbuf, sizeof(sbuf))); in print_both_open_warning()
282 str_error_r(errno, sbuf, sizeof(sbuf))); in probe_file__add_event()
320 str_error_r(-ret, buf, sizeof(buf))); in __del_trace_probe_event()
H A Dtarget.c120 str_error_r(errnum, buf, buflen); in target__strerror()
H A Dmutex.c15 pr_err("%s error: '%s'\n", fn, str_error_r(err, sbuf, sizeof(sbuf))); in check_err()
/linux/tools/perf/
H A Dbuiltin-buildid-cache.c479 pos->s, str_error_r(errno, sbuf, sizeof(sbuf))); in cmd_buildid_cache()
497 pos->s, 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()
525 str_error_r(errno, sbuf, sizeof(sbuf))); in cmd_buildid_cache()
543 pos->s, str_error_r(errno, sbuf, sizeof(sbuf))); in cmd_buildid_cache()
H A DMANIFEST26 tools/lib/str_error_r.c
H A Dbuiltin-ftrace.c158 name, str_error_r(errno, errbuf, sizeof(errbuf))); in __write_tracing_file()
175 val, name, str_error_r(errno, errbuf, sizeof(errbuf))); in __write_tracing_file()
211 name, str_error_r(errno, buf, sizeof(buf))); in read_tracing_file_to_stdout()
829 const char *emsg = str_error_r(workload_exec_errno, buf, sizeof(buf)); in __cmd_ftrace()
1170 const char *emsg = str_error_r(workload_exec_errno, buf, sizeof(buf)); in __cmd_latency()
1496 const char *emsg = str_error_r(workload_exec_errno, buf, sizeof(buf)); in __cmd_profile()
H A Dbuiltin-top.c1063 str_error_r(errno, msg, sizeof(msg))); in perf_top__start_counters()
1069 errno, str_error_r(errno, msg, sizeof(msg))); in perf_top__start_counters()
1307 const char *err = str_error_r(-ret, errbuf, sizeof(errbuf)); in __cmd_top()
1661 str_error_r(errno, errbuf, sizeof(errbuf))); in cmd_top()
1815 errno == ENOENT ? "No such process" : str_error_r(errno, errbuf, sizeof(errbuf))); in cmd_top()
/linux/tools/lib/
H A Dstr_error_r.c21 char *str_error_r(int errnum, char *buf, size_t buflen) in str_error_r() function
/linux/tools/bpf/resolve_btfids/
H A DBuild8 resolve_btfids-y += str_error_r.o
/linux/tools/lib/subcmd/
H A Drun-command.c116 cmd->dir, str_error_r(errno, sbuf, sizeof(sbuf))); in start_command()
190 str_error_r(errno, sbuf, sizeof(sbuf))); in wait_or_whine()
/linux/tools/lib/api/fs/
H A Dtracing_path.c173 snprintf(buf, size, "%s", str_error_r(err, sbuf, sizeof(sbuf))); in tracing_path__strerror_open_tp()
/linux/tools/testing/selftests/hid/
H A DMakefile162 $(TOOLSDIR)/lib/str_error_r.c

12