Home
last modified time | relevance | path

Searched refs:errbuf (Results 1 – 19 of 19) sorted by relevance

/linux/tools/perf/tests/
A Dopenat-syscall.c24 char errbuf[BUFSIZ]; in test__openat_syscall_event() local
33 tracing_path__strerror_open_tp(errno, errbuf, sizeof(errbuf), "syscalls", "sys_enter_openat"); in test__openat_syscall_event()
34 pr_debug("%s\n", errbuf); in test__openat_syscall_event()
A Dopenat-syscall-all-cpus.c32 char errbuf[BUFSIZ]; in test__openat_syscall_event_on_all_cpus() local
49 tracing_path__strerror_open_tp(errno, errbuf, sizeof(errbuf), "syscalls", "sys_enter_openat"); in test__openat_syscall_event_on_all_cpus()
50 pr_debug("%s\n", errbuf); in test__openat_syscall_event_on_all_cpus()
A Dcode-reading.c673 char errbuf[512]; in do_test_code_reading() local
674 evlist__strerror_open(evlist, errno, errbuf, sizeof(errbuf)); in do_test_code_reading()
675 pr_debug("perf_evlist__open() failed!\n%s\n", errbuf); in do_test_code_reading()
/linux/tools/perf/bench/
A Devlist-open-close.c228 char *evstr, errbuf[BUFSIZ]; in bench_evlist_open_close() local
239 target__strerror(&opts.target, err, errbuf, sizeof(errbuf)); in bench_evlist_open_close()
240 pr_err("%s\n", errbuf); in bench_evlist_open_close()
246 target__strerror(&opts.target, err, errbuf, sizeof(errbuf)); in bench_evlist_open_close()
247 pr_err("%s", errbuf); in bench_evlist_open_close()
/linux/drivers/scsi/aic7xxx/aicasm/
A Daicasm_gram.y66 static char errbuf[255]; variable
719 snprintf(errbuf, sizeof(errbuf),
722 stop(errbuf, EX_DATAERR);
813 snprintf(errbuf, sizeof(errbuf), "%s%d", SRAM_SYMNAME,
942 snprintf(errbuf, sizeof(errbuf),
1628 snprintf(errbuf, sizeof(errbuf), "Undefined register %s", in process_register()
1637 snprintf(errbuf, sizeof(errbuf), in process_register()
1822 snprintf(errbuf, sizeof(errbuf), in test_readable_symbol()
1839 snprintf(errbuf, sizeof(errbuf), in test_writable_symbol()
1878 snprintf(errbuf, sizeof(errbuf), in type_check()
[all …]
/linux/drivers/usb/host/
A Duhci-hcd.c78 static char *errbuf; variable
83 #define errbuf NULL macro
480 if (debug > 1 && errbuf) { in uhci_irq()
482 uhci_sprint_schedule(uhci, errbuf, in uhci_irq()
484 lprintk(errbuf); in uhci_irq()
875 errbuf = kmalloc(ERRBUF_LEN, GFP_KERNEL); in uhci_hcd_init()
876 if (!errbuf) in uhci_hcd_init()
913 kfree(errbuf); in uhci_hcd_init()
933 kfree(errbuf); in uhci_hcd_cleanup()
A Duhci-q.c1199 if (debug > 1 && errbuf) { in uhci_result_common()
1201 uhci_show_qh(uhci, urbp->qh, errbuf, in uhci_result_common()
1203 lprintk(errbuf); in uhci_result_common()
/linux/tools/perf/
A Dbuiltin-ftrace.c90 char errbuf[512]; in __write_tracing_file() local
107 name, str_error_r(errno, errbuf, sizeof(errbuf))); in __write_tracing_file()
124 val, name, str_error_r(errno, errbuf, sizeof(errbuf))); in __write_tracing_file()
947 char errbuf[512]; in cmd_ftrace() local
949 target__strerror(&ftrace.target, ret, errbuf, 512); in cmd_ftrace()
950 pr_err("%s\n", errbuf); in cmd_ftrace()
A Dbuiltin-top.c1283 char errbuf[BUFSIZ]; in __cmd_top() local
1284 const char *err = str_error_r(-ret, errbuf, sizeof(errbuf)); in __cmd_top()
1415 char errbuf[BUFSIZ]; in cmd_top() local
1613 str_error_r(errno, errbuf, sizeof(errbuf))); in cmd_top()
1686 target__strerror(target, status, errbuf, BUFSIZ); in cmd_top()
1687 ui__warning("%s\n", errbuf); in cmd_top()
1694 target__strerror(target, status, errbuf, BUFSIZ); in cmd_top()
1695 ui__error("%s\n", errbuf); in cmd_top()
1706 errno == ENOENT ? "No such process" : str_error_r(errno, errbuf, sizeof(errbuf))); in cmd_top()
A Dbuiltin-record.c1743 char errbuf[BUFSIZ]; in __cmd_record() local
1745 bpf__strerror_apply_obj_config(err, errbuf, sizeof(errbuf)); in __cmd_record()
1747 errbuf); in __cmd_record()
2675 char errbuf[BUFSIZ]; in cmd_record() local
2814 bpf__strerror_setup_stdout(rec->evlist, err, errbuf, sizeof(errbuf)); in cmd_record()
2816 errbuf); in cmd_record()
2876 target__strerror(&rec->opts.target, err, errbuf, BUFSIZ); in cmd_record()
2877 ui__warning("%s\n", errbuf); in cmd_record()
2884 target__strerror(&rec->opts.target, err, errbuf, BUFSIZ); in cmd_record()
2885 ui__error("%s", errbuf); in cmd_record()
A Dbuiltin-trace.c4013 char errbuf[BUFSIZ]; local
4015 bpf__strerror_apply_obj_config(err, errbuf, sizeof(errbuf));
4017 errbuf);
4172 char errbuf[BUFSIZ]; local
4175 tracing_path__strerror_open_tp(errno, errbuf, sizeof(errbuf), "sched", "sched_stat_runtime");
4179 tracing_path__strerror_open_tp(errno, errbuf, sizeof(errbuf), "raw_syscalls", "sys_(enter|exit)");
4183 evlist__strerror_mmap(evlist, errno, errbuf, sizeof(errbuf));
4187 evlist__strerror_open(evlist, errno, errbuf, sizeof(errbuf));
4190 fprintf(trace->output, "%s\n", errbuf);
4197 str_error_r(errno, errbuf, sizeof(errbuf)));
A Dbuiltin-kvm.c1345 char errbuf[BUFSIZ]; in kvm_events_live() local
1421 target__strerror(&kvm->opts.target, err, errbuf, BUFSIZ); in kvm_events_live()
1422 ui__warning("%s", errbuf); in kvm_events_live()
A Dbuiltin-stat.c2235 char errbuf[BUFSIZ]; in cmd_stat() local
2348 target__strerror(&target, err, errbuf, BUFSIZ); in cmd_stat()
2349 pr_warning("%s\n", errbuf); in cmd_stat()
/linux/tools/perf/util/
A Dparse-events.c741 char errbuf[BUFSIZ]; in parse_events_load_bpf_obj() local
746 snprintf(errbuf, sizeof(errbuf), in parse_events_load_bpf_obj()
764 bpf__strerror_probe(obj, err, errbuf, sizeof(errbuf)); in parse_events_load_bpf_obj()
770 bpf__strerror_load(obj, err, errbuf, sizeof(errbuf)); in parse_events_load_bpf_obj()
776 snprintf(errbuf, sizeof(errbuf), in parse_events_load_bpf_obj()
811 char errbuf[BUFSIZ]; in parse_events_config_bpf() local
816 sizeof(errbuf)); in parse_events_config_bpf()
824 strdup(errbuf), in parse_events_config_bpf()
882 char errbuf[BUFSIZ]; in parse_events_load_bpf() local
887 snprintf(errbuf, sizeof(errbuf), in parse_events_load_bpf()
[all …]
/linux/arch/mips/boot/tools/
A Drelocs.c48 char errbuf[128]; in regex_init() local
55 regerror(err, &sym_regex_c, errbuf, sizeof(errbuf)); in regex_init()
56 die("%s", errbuf); in regex_init()
/linux/arch/powerpc/kernel/
A Drtas.c1089 char *buff_copy, *errbuf = NULL; in SYSCALL_DEFINE1() local
1155 errbuf = __fetch_rtas_last_error(buff_copy); in SYSCALL_DEFINE1()
1160 if (errbuf) in SYSCALL_DEFINE1()
1161 log_error(errbuf, ERR_TYPE_RTAS_LOG, 0); in SYSCALL_DEFINE1()
/linux/drivers/net/ethernet/sfc/
A Dmcdi.c506 MCDI_DECLARE_BUF_ERR(errbuf); in efx_mcdi_complete_async()
548 err_len = min(sizeof(errbuf), data_len); in efx_mcdi_complete_async()
549 efx->type->mcdi_read_response(efx, errbuf, hdr_len, in efx_mcdi_complete_async()
550 sizeof(errbuf)); in efx_mcdi_complete_async()
551 efx_mcdi_display_error(efx, async->cmd, async->inlen, errbuf, in efx_mcdi_complete_async()
658 MCDI_DECLARE_BUF_ERR(errbuf); in _efx_mcdi_rpc_finish()
708 err_len = min(sizeof(errbuf), data_len); in _efx_mcdi_rpc_finish()
718 efx->type->mcdi_read_response(efx, errbuf, hdr_len, err_len); in _efx_mcdi_rpc_finish()
736 efx_mcdi_display_error(efx, cmd, inlen, errbuf, err_len, in _efx_mcdi_rpc_finish()
/linux/arch/x86/tools/
A Drelocs.c128 char errbuf[128]; in regex_init() local
145 regerror(err, &sym_regex_c[i], errbuf, sizeof(errbuf)); in regex_init()
146 die("%s", errbuf); in regex_init()
/linux/tools/testing/selftests/net/
A Dnettest.c1771 char *outbuf, *errbuf; in ipc_child() local
1775 errbuf = malloc(4096); in ipc_child()
1776 if (!outbuf || !errbuf) { in ipc_child()
1782 setbuffer(stderr, errbuf, 4096); in ipc_child()
1796 free(errbuf); in ipc_child()

Completed in 82 milliseconds