Home
last modified time | relevance | path

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

/Linux-v5.10/tools/perf/tests/
Dopenat-syscall.c23 char errbuf[BUFSIZ]; in test__openat_syscall_event() local
32 tracing_path__strerror_open_tp(errno, errbuf, sizeof(errbuf), "syscalls", "sys_enter_openat"); in test__openat_syscall_event()
33 pr_debug("%s\n", errbuf); in test__openat_syscall_event()
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()
Dcode-reading.c680 char errbuf[512]; in do_test_code_reading() local
681 evlist__strerror_open(evlist, errno, errbuf, sizeof(errbuf)); in do_test_code_reading()
682 pr_debug("perf_evlist__open() failed!\n%s\n", errbuf); in do_test_code_reading()
/Linux-v5.10/drivers/scsi/aic7xxx/aicasm/
Daicasm_gram.y67 static char errbuf[255]; variable
720 snprintf(errbuf, sizeof(errbuf),
723 stop(errbuf, EX_DATAERR);
814 snprintf(errbuf, sizeof(errbuf), "%s%d", SRAM_SYMNAME,
943 snprintf(errbuf, sizeof(errbuf),
948 stop(errbuf, EX_DATAERR);
1629 snprintf(errbuf, sizeof(errbuf), "Undefined register %s", in process_register()
1631 stop(errbuf, EX_DATAERR); in process_register()
1638 snprintf(errbuf, sizeof(errbuf), in process_register()
1641 stop(errbuf, EX_DATAERR); in process_register()
[all …]
/Linux-v5.10/drivers/usb/host/
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()
877 errbuf = kmalloc(ERRBUF_LEN, GFP_KERNEL); in uhci_hcd_init()
878 if (!errbuf) in uhci_hcd_init()
915 kfree(errbuf); in uhci_hcd_init()
935 kfree(errbuf); in uhci_hcd_cleanup()
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-v5.10/tools/perf/
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()
948 char errbuf[512]; in cmd_ftrace() local
950 target__strerror(&ftrace.target, ret, errbuf, 512); in cmd_ftrace()
951 pr_err("%s\n", errbuf); in cmd_ftrace()
Dbuiltin-top.c1289 char errbuf[BUFSIZ]; in __cmd_top() local
1290 const char *err = str_error_r(-ret, errbuf, sizeof(errbuf)); in __cmd_top()
1421 char errbuf[BUFSIZ]; in cmd_top() local
1618 str_error_r(errno, errbuf, sizeof(errbuf))); in cmd_top()
1682 target__strerror(target, status, errbuf, BUFSIZ); in cmd_top()
1683 ui__warning("%s\n", errbuf); in cmd_top()
1690 target__strerror(target, status, errbuf, BUFSIZ); in cmd_top()
1691 ui__error("%s\n", errbuf); in cmd_top()
1702 errno == ENOENT ? "No such process" : str_error_r(errno, errbuf, sizeof(errbuf))); in cmd_top()
Dbuiltin-record.c1727 char errbuf[BUFSIZ]; in __cmd_record() local
1729 bpf__strerror_apply_obj_config(err, errbuf, sizeof(errbuf)); in __cmd_record()
1731 errbuf); in __cmd_record()
2610 char errbuf[BUFSIZ]; in cmd_record() local
2724 bpf__strerror_setup_stdout(rec->evlist, err, errbuf, sizeof(errbuf)); in cmd_record()
2726 errbuf); in cmd_record()
2777 target__strerror(&rec->opts.target, err, errbuf, BUFSIZ); in cmd_record()
2778 ui__warning("%s\n", errbuf); in cmd_record()
2785 target__strerror(&rec->opts.target, err, errbuf, BUFSIZ); in cmd_record()
2786 ui__error("%s", errbuf); in cmd_record()
Dbuiltin-trace.c3986 char errbuf[BUFSIZ]; local
3988 bpf__strerror_apply_obj_config(err, errbuf, sizeof(errbuf));
3990 errbuf);
4145 char errbuf[BUFSIZ]; local
4148 tracing_path__strerror_open_tp(errno, errbuf, sizeof(errbuf), "sched", "sched_stat_runtime");
4152 tracing_path__strerror_open_tp(errno, errbuf, sizeof(errbuf), "raw_syscalls", "sys_(enter|exit)");
4156 evlist__strerror_mmap(evlist, errno, errbuf, sizeof(errbuf));
4160 evlist__strerror_open(evlist, errno, errbuf, sizeof(errbuf));
4163 fprintf(trace->output, "%s\n", errbuf);
4170 str_error_r(errno, errbuf, sizeof(errbuf)));
Dbuiltin-kvm.c1345 char errbuf[BUFSIZ]; in kvm_events_live() local
1422 target__strerror(&kvm->opts.target, err, errbuf, BUFSIZ); in kvm_events_live()
1423 ui__warning("%s", errbuf); in kvm_events_live()
/Linux-v5.10/tools/perf/util/
Dparse-events.c731 char errbuf[BUFSIZ]; in parse_events_load_bpf_obj() local
736 snprintf(errbuf, sizeof(errbuf), in parse_events_load_bpf_obj()
754 bpf__strerror_probe(obj, err, errbuf, sizeof(errbuf)); in parse_events_load_bpf_obj()
760 bpf__strerror_load(obj, err, errbuf, sizeof(errbuf)); in parse_events_load_bpf_obj()
766 snprintf(errbuf, sizeof(errbuf), in parse_events_load_bpf_obj()
774 strdup(errbuf), strdup("(add -v to see detail)")); in parse_events_load_bpf_obj()
801 char errbuf[BUFSIZ]; in parse_events_config_bpf() local
805 &error_pos, err, errbuf, in parse_events_config_bpf()
806 sizeof(errbuf)); in parse_events_config_bpf()
814 strdup(errbuf), in parse_events_config_bpf()
[all …]
/Linux-v5.10/arch/mips/boot/tools/
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-v5.10/drivers/net/ethernet/sfc/
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-v5.10/arch/powerpc/kernel/
Drtas.c1141 char *buff_copy, *errbuf = NULL; in SYSCALL_DEFINE1() local
1207 errbuf = __fetch_rtas_last_error(buff_copy); in SYSCALL_DEFINE1()
1212 if (errbuf) in SYSCALL_DEFINE1()
1213 log_error(errbuf, ERR_TYPE_RTAS_LOG, 0); in SYSCALL_DEFINE1()
/Linux-v5.10/arch/x86/tools/
Drelocs.c118 char errbuf[128]; in regex_init() local
135 regerror(err, &sym_regex_c[i], errbuf, sizeof(errbuf)); in regex_init()
136 die("%s", errbuf); in regex_init()