Home
last modified time | relevance | path

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

/linux-4.4.14/tools/perf/tests/
Dopenat-syscall.c15 char errbuf[BUFSIZ]; in test__openat_syscall_event() local
24 tracing_path__strerror_open_tp(errno, errbuf, sizeof(errbuf), "syscalls", "sys_enter_openat"); in test__openat_syscall_event()
25 pr_debug("%s\n", errbuf); in test__openat_syscall_event()
Dopenat-syscall-all-cpus.c19 char errbuf[BUFSIZ]; in test__openat_syscall_event_on_all_cpus() local
36 tracing_path__strerror_open_tp(errno, errbuf, sizeof(errbuf), "syscalls", "sys_enter_openat"); in test__openat_syscall_event_on_all_cpus()
37 pr_debug("%s\n", errbuf); in test__openat_syscall_event_on_all_cpus()
/linux-4.4.14/drivers/scsi/aic7xxx/aicasm/
Daicasm_gram.y71 static char errbuf[255]; variable
724 snprintf(errbuf, sizeof(errbuf),
727 stop(errbuf, EX_DATAERR);
818 snprintf(errbuf, sizeof(errbuf), "%s%d", SRAM_SYMNAME,
947 snprintf(errbuf, sizeof(errbuf),
952 stop(errbuf, EX_DATAERR);
1633 snprintf(errbuf, sizeof(errbuf), "Undefined register %s", in process_register()
1635 stop(errbuf, EX_DATAERR); in process_register()
1642 snprintf(errbuf, sizeof(errbuf), in process_register()
1645 stop(errbuf, EX_DATAERR); in process_register()
[all …]
/linux-4.4.14/drivers/usb/host/
Duhci-hcd.c77 static char *errbuf; variable
82 #define errbuf NULL macro
468 if (debug > 1 && errbuf) { in uhci_irq()
470 uhci_sprint_schedule(uhci, errbuf, in uhci_irq()
472 lprintk(errbuf); in uhci_irq()
874 errbuf = kmalloc(ERRBUF_LEN, GFP_KERNEL); in uhci_hcd_init()
875 if (!errbuf) in uhci_hcd_init()
915 kfree(errbuf); in uhci_hcd_init()
935 kfree(errbuf); in uhci_hcd_cleanup()
Duhci-q.c1200 if (debug > 1 && errbuf) { in uhci_result_common()
1202 uhci_show_qh(uhci, urbp->qh, errbuf, in uhci_result_common()
1204 lprintk(errbuf); in uhci_result_common()
/linux-4.4.14/tools/perf/util/
Dparse-events.c587 char errbuf[BUFSIZ]; in parse_events_load_bpf_obj() local
592 snprintf(errbuf, sizeof(errbuf), in parse_events_load_bpf_obj()
610 bpf__strerror_probe(obj, err, errbuf, sizeof(errbuf)); in parse_events_load_bpf_obj()
616 bpf__strerror_load(obj, err, errbuf, sizeof(errbuf)); in parse_events_load_bpf_obj()
622 snprintf(errbuf, sizeof(errbuf), in parse_events_load_bpf_obj()
630 data->error->str = strdup(errbuf); in parse_events_load_bpf_obj()
643 char errbuf[BUFSIZ]; in parse_events_load_bpf() local
649 snprintf(errbuf, sizeof(errbuf), in parse_events_load_bpf()
654 -err, errbuf, in parse_events_load_bpf()
655 sizeof(errbuf)); in parse_events_load_bpf()
[all …]
/linux-4.4.14/tools/perf/
Dbuiltin-top.c1038 char errbuf[BUFSIZ]; in __cmd_top() local
1039 const char *err = strerror_r(-ret, errbuf, sizeof(errbuf)); in __cmd_top()
1101 char errbuf[BUFSIZ]; in cmd_top() local
1264 target__strerror(target, status, errbuf, BUFSIZ); in cmd_top()
1265 ui__warning("%s\n", errbuf); in cmd_top()
1272 target__strerror(target, status, errbuf, BUFSIZ); in cmd_top()
1273 ui__error("%s\n", errbuf); in cmd_top()
Dbuiltin-record.c1131 char errbuf[BUFSIZ]; in cmd_record() local
1195 target__strerror(&rec->opts.target, err, errbuf, BUFSIZ); in cmd_record()
1196 ui__warning("%s", errbuf); in cmd_record()
1203 target__strerror(&rec->opts.target, err, errbuf, BUFSIZ); in cmd_record()
1204 ui__error("%s", errbuf); in cmd_record()
Dbuiltin-trace.c2697 char errbuf[BUFSIZ]; in trace__run() local
2700 tracing_path__strerror_open_tp(errno, errbuf, sizeof(errbuf), "sched", "sched_stat_runtime"); in trace__run()
2704 tracing_path__strerror_open_tp(errno, errbuf, sizeof(errbuf), "raw_syscalls", "sys_(enter|exit)"); in trace__run()
2708 perf_evlist__strerror_mmap(evlist, errno, errbuf, sizeof(errbuf)); in trace__run()
2712 perf_evlist__strerror_open(evlist, errno, errbuf, sizeof(errbuf)); in trace__run()
2715 fprintf(trace->output, "%s\n", errbuf); in trace__run()
2722 strerror_r(errno, errbuf, sizeof(errbuf))); in trace__run()
Dbuiltin-kvm.c1292 char errbuf[BUFSIZ]; in kvm_events_live() local
1370 target__strerror(&kvm->opts.target, err, errbuf, BUFSIZ); in kvm_events_live()
1371 ui__warning("%s", errbuf); in kvm_events_live()
/linux-4.4.14/drivers/net/ethernet/sfc/
Dmcdi.c501 MCDI_DECLARE_BUF_ERR(errbuf); in efx_mcdi_complete_async()
543 err_len = min(sizeof(errbuf), data_len); in efx_mcdi_complete_async()
544 efx->type->mcdi_read_response(efx, errbuf, hdr_len, in efx_mcdi_complete_async()
545 sizeof(errbuf)); in efx_mcdi_complete_async()
546 efx_mcdi_display_error(efx, async->cmd, async->inlen, errbuf, in efx_mcdi_complete_async()
629 MCDI_DECLARE_BUF_ERR(errbuf); in _efx_mcdi_rpc_finish()
674 err_len = min(sizeof(errbuf), data_len); in _efx_mcdi_rpc_finish()
684 efx->type->mcdi_read_response(efx, errbuf, hdr_len, err_len); in _efx_mcdi_rpc_finish()
693 efx_mcdi_display_error(efx, cmd, inlen, errbuf, err_len, in _efx_mcdi_rpc_finish()
/linux-4.4.14/arch/powerpc/kernel/
Drtas.c1040 char *buff_copy, *errbuf = NULL; in ppc_rtas() local
1103 errbuf = __fetch_rtas_last_error(buff_copy); in ppc_rtas()
1108 if (errbuf) in ppc_rtas()
1109 log_error(errbuf, ERR_TYPE_RTAS_LOG, 0); in ppc_rtas()
/linux-4.4.14/arch/x86/tools/
Drelocs.c114 char errbuf[128]; in regex_init() local
131 regerror(err, &sym_regex_c[i], errbuf, sizeof errbuf); in regex_init()
132 die("%s", errbuf); in regex_init()