Home
last modified time | relevance | path

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

/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()
/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.c3992 char errbuf[BUFSIZ]; local
3994 bpf__strerror_apply_obj_config(err, errbuf, sizeof(errbuf));
3996 errbuf);
4151 char errbuf[BUFSIZ]; local
4154 tracing_path__strerror_open_tp(errno, errbuf, sizeof(errbuf), "sched", "sched_stat_runtime");
4158 tracing_path__strerror_open_tp(errno, errbuf, sizeof(errbuf), "raw_syscalls", "sys_(enter|exit)");
4162 evlist__strerror_mmap(evlist, errno, errbuf, sizeof(errbuf));
4166 evlist__strerror_open(evlist, errno, errbuf, sizeof(errbuf));
4169 fprintf(trace->output, "%s\n", errbuf);
4176 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()
/tools/perf/util/
Dparse-events.c737 char errbuf[BUFSIZ]; in parse_events_load_bpf_obj() local
742 snprintf(errbuf, sizeof(errbuf), in parse_events_load_bpf_obj()
760 bpf__strerror_probe(obj, err, errbuf, sizeof(errbuf)); in parse_events_load_bpf_obj()
766 bpf__strerror_load(obj, err, errbuf, sizeof(errbuf)); in parse_events_load_bpf_obj()
772 snprintf(errbuf, sizeof(errbuf), in parse_events_load_bpf_obj()
780 strdup(errbuf), strdup("(add -v to see detail)")); in parse_events_load_bpf_obj()
807 char errbuf[BUFSIZ]; in parse_events_config_bpf() local
811 &error_pos, err, errbuf, in parse_events_config_bpf()
812 sizeof(errbuf)); in parse_events_config_bpf()
820 strdup(errbuf), in parse_events_config_bpf()
[all …]