Home
last modified time | relevance | path

Searched refs:pr_err (Results 1 – 25 of 113) sorted by relevance

12345

/tools/testing/selftests/nsfs/
Downer.c19 #define pr_err(fmt, ...) \ macro
39 return pr_err("fork"); in main()
43 return pr_err("unshare"); in main()
52 return pr_err("Unable to read from pipe"); in main()
58 return pr_err("Unable to open %s", path); in main()
62 return pr_err("Unable to get an owning user namespace"); in main()
65 return pr_err("fstat"); in main()
69 return pr_err("stat"); in main()
72 return pr_err("NS_GET_USERNS returned a wrong namespace"); in main()
76 return pr_err("Unable to get an owning user namespace"); in main()
[all …]
Dpidns.c16 #define pr_err(fmt, ...) \ macro
52 return pr_err("clone"); in main()
58 return pr_err("Unable to open %s", path); in main()
62 return pr_err("Unable to get a parent pidns"); in main()
66 return pr_err("Unable to stat %s", path); in main()
68 return pr_err("Unable to stat the parent pidns"); in main()
70 return pr_err("NS_GET_PARENT returned a wrong namespace"); in main()
73 return pr_err("Don't get EPERM"); in main()
/tools/virtio/virtio-trace/
Dtrace-agent-rw.c26 pr_err("rw_thread_info zalloc error\n"); in rw_thread_info_new()
51 pr_err("Could not open in_fd (CPU:%d)\n", cpu); in rw_thread_init()
60 pr_err("Could not open out_fd (CPU:%d)\n", cpu); in rw_thread_init()
68 pr_err("Could not create pipe in rw-thread(%d)\n", cpu); in rw_thread_init()
77 pr_err("Could not change pipe size in rw-thread(%d)\n", cpu); in rw_thread_init()
101 pr_err("Could not set CPU#%d affinity\n", (int)cpu_num); in bind_cpu()
131 pr_err("Splice_read in rw-thread(%d)\n", ts->cpu_num); in rw_thread_main()
153 pr_err("Splice_write in rw-thread(%d)\n", in rw_thread_main()
185 pr_err("Could not create a rw thread(%d)\n", rw_ti->cpu_num); in rw_thread_run()
Dtrace-agent.c34 pr_err("Could not read cpus\n"); in get_total_cpus()
37 pr_err("Exceed max cpus(%d)\n", (int)MAX_CPUS); in get_total_cpus()
54 pr_err("agent_info zalloc error\n"); in agent_info_new()
88 pr_err("Pipe size must be less than 1MB\n"); in parse_size()
91 pr_err("Pipe size must be over 64KB\n"); in parse_size()
106 pr_err("usage: %s [-h] [-o] [-s <size of pipe>]\n", prg); in usage()
116 pr_err("Could not allocate buffer\n"); in make_path()
128 pr_err("Failed to generate %s path(CPU#%d):%d\n", in make_path()
235 pr_err("pthread_join() error:%d (cpu %d)\n", ret, cpu); in agent_main_loop()
Dtrace-agent-ctl.c38 pr_err("Cannot open ctl_fd\n"); in rw_ctl_init()
72 pr_err("Polling error\n"); in wait_order()
108 pr_err("read data error in ctl thread\n"); in rw_ctl_loop()
/tools/perf/
Dbuiltin-config.c130 pr_err("The config variable does not contain a section name: %s\n", arg); in parse_config_arg()
134 pr_err("The config variable does not contain a variable name: %s\n", arg); in parse_config_arg()
142 pr_err("The config variable does not contain a value: %s\n", arg); in parse_config_arg()
148 pr_err("invalid config variable: %s\n", arg); in parse_config_arg()
168 pr_err("Error: only one config file at a time\n"); in cmd_config()
195 pr_err("Error: takes no arguments\n"); in cmd_config()
200 pr_err("Nothing configured, " in cmd_config()
215 pr_err("%s: strdup failed\n", __func__); in cmd_config()
226 pr_err("%s is not configured: %s\n", in cmd_config()
234 pr_err("Failed to add '%s=%s'\n", in cmd_config()
[all …]
Dbuiltin-ftrace.c266 pr_err("invalid graph depth: %d\n", ftrace->graph_depth); in set_tracing_depth()
288 pr_err("ftrace only works for %s!\n", in __cmd_ftrace()
304 pr_err("failed to reset ftrace\n"); in __cmd_ftrace()
319 pr_err("failed to set ftrace pid\n"); in __cmd_ftrace()
324 pr_err("failed to set tracing cpumask\n"); in __cmd_ftrace()
329 pr_err("failed to set tracing filters\n"); in __cmd_ftrace()
334 pr_err("failed to set graph depth\n"); in __cmd_ftrace()
339 pr_err("failed to set current_tracer to %s\n", ftrace->tracer); in __cmd_ftrace()
347 pr_err("failed to open trace_pipe\n"); in __cmd_ftrace()
356 pr_err("failed to open trace_pipe\n"); in __cmd_ftrace()
[all …]
Dbuiltin-data.c75pr_err("No conversion support compiled in. perf should be compiled with environment variables LIBB… in cmd_data_convert()
90 pr_err("The libbabeltrace support is not compiled in.\n"); in cmd_data_convert()
126 pr_err("Unknown command: %s\n", cmdstr); in cmd_data()
Dbuiltin-kvm.c112 pr_err("unknown kvm exit code:%lld on %s\n", in get_exit_reason()
201 pr_err("Not enough memory\n"); in kvm_event_expand()
216 pr_err("Not enough memory\n"); in kvm_alloc_init_event()
414 pr_err("%s: Not enough memory\n", __func__); in per_vcpu_record()
503 pr_err("Unknown compare key:%s\n", kvm->sort_key); in select_key()
714 pr_err("Failed to look up CPU type: %s\n", in cpu_isa_config()
723 pr_err("Failed to look up CPU type\n"); in cpu_isa_config()
729 pr_err("CPU %s is not supported.\n", cpuid); in cpu_isa_config()
737 pr_err("Invalid vcpu:%d.\n", vcpu); in verify_vcpu()
770 pr_err("Failed to parse sample\n"); in perf_kvm__mmap_read_idx()
[all …]
Dbuiltin-probe.c60 pr_err("Too many probes (> %d) were specified.", MAX_PROBES); in parse_probe_event()
95 pr_err("Filter parse error at %td.\n", err - str + 1); in params_add_filter()
96 pr_err("Source: \"%s\"\n", str); in params_add_filter()
97 pr_err(" %*c\n", (int)(err - str + 1), '^'); in params_add_filter()
264 pr_err(" Error: '--vars' doesn't accept arguments.\n"); in opt_show_vars()
329 pr_err("%s", msg); in pr_err_with_code()
332 pr_err("\n"); in pr_err_with_code()
627 pr_err(" Error: -v and -q are exclusive.\n"); in __cmd_probe()
652 pr_err(" Error: Don't use --list with --exec.\n"); in __cmd_probe()
697 pr_err(" Error: -x/-m must follow the probe definitions.\n"); in __cmd_probe()
/tools/perf/util/
Dzstd.c14 pr_err("Couldn't create decompression stream.\n"); in zstd_init()
20 pr_err("Failed to initialize decompression stream: %s\n", ZSTD_getErrorName(ret)); in zstd_init()
29 pr_err("Couldn't create compression stream.\n"); in zstd_init()
35 pr_err("Failed to initialize compression stream: %s\n", ZSTD_getErrorName(ret)); in zstd_init()
77 pr_err("failed to compress %ld bytes: %s\n", in zstd_compress_stream_to_records()
102 pr_err("failed to decompress (B): %zd -> %zd, dst_size %zd : %s\n", in zstd_decompress_stream()
Dlzma.c48 pr_err("lzma: fopen failed on %s: '%s'\n", in lzma_decompress_to_file()
55 pr_err("lzma: lzma_stream_decoder failed %s (%d)\n", in lzma_decompress_to_file()
71 pr_err("lzma: read error: %s\n", strerror(errno)); in lzma_decompress_to_file()
85 pr_err("lzma: write error: %s\n", strerror(errno)); in lzma_decompress_to_file()
97 pr_err("lzma: failed %s\n", lzma_strerror(ret)); in lzma_decompress_to_file()
Dllvm-utils.c123 pr_err("ERROR: unable to popen cmd: %s\n", in read_from_pipe()
140 pr_err("ERROR: failed to realloc memory\n"); in read_from_pipe()
151 pr_err("ERROR: internal error\n"); in read_from_pipe()
157 pr_err("ERROR: error occurred when reading from pipe: %s\n", in read_from_pipe()
212 pr_err( in version_notice()
387 pr_err( in llvm__get_nr_cpus()
451 pr_err("ERROR: problems with path %s: %s\n", in llvm__compile_bpf()
462 pr_err( in llvm__compile_bpf()
498 pr_err("ERROR:\tunable to find llc.\n" in llvm__compile_bpf()
508 pr_err("ERROR:\tnot enough memory to setup command line\n"); in llvm__compile_bpf()
[all …]
Ddata-convert-bt.c105 pr_err("failed to create a field %s\n", name); in value_set()
112 pr_err("failed to set field value %s\n", name); in value_set()
118 pr_err("failed to set field value %s\n", name); in value_set()
125 pr_err("failed to set payload %s\n", name); in value_set()
165 pr_err("failed to create a field %s\n", name); in value_set_string()
171 pr_err("failed to set value %s\n", name); in value_set_string()
177 pr_err("failed to set payload %s\n", name); in value_set_string()
268 pr_err("failed to set unprintable string '%s'\n", string); in string_set_value()
327 pr_err("Failed to create array type %s\n", name); in add_tracepoint_field_value()
347 pr_err("failed to create a field %s\n", name); in add_tracepoint_field_value()
[all …]
Dpstack.c54 pr_err("%s: %p not on the pstack!\n", __func__, key); in pstack__remove()
60 pr_err("%s: top=%d, overflow!\n", __func__, pstack->top); in pstack__push()
71 pr_err("%s: underflow!\n", __func__); in pstack__pop()
Dbpf-prologue.c45 pr_err("bpf prologue: prologue too long\n"); in append_insn()
118 pr_err("bpf: prologue: failed to get register %s\n", in gen_ldx_reg_from_ctx()
259 pr_err("prologue: failed to get offset of register %s\n", in gen_prologue_slowpath()
285 pr_err("prologue: failed to generate probe_read function call\n"); in gen_prologue_slowpath()
349 pr_err("bpf prologue: internal error: relocation failed\n"); in prologue_relocate()
402 pr_err("bpf: prologue: global %s%+ld not support\n", in bpf__gen_prologue()
422 pr_err("bpf: prologue: offset out of bound: %ld\n", in bpf__gen_prologue()
Ds390-cpumsf.c220 pr_err("Failed to open counter set log file %s, " in s390_cpumcf_dumpctr()
232 pr_err("Failed to write counter set data\n"); in s390_cpumcf_dumpctr()
267 pr_err("Invalid AUX trace basic entry [%#08zx]\n", pos); in s390_cpumsf_basic_show()
300 pr_err("Invalid AUX trace diagnostic entry [%#08zx]\n", pos); in s390_cpumsf_diag_show()
342 pr_err("Invalid AUX trace trailer entry [%#08zx]\n", pos); in s390_cpumsf_trailer_show()
447 pr_err("Invalid AUX trace data block size:%zu" in s390_cpumsf_dump()
540 pr_err("s390 Auxiliary Trace: failed to deliver event\n"); in s390_cpumsf_make_event()
623 pr_err("[%#08" PRIx64 "] Invalid AUX trailer entry TOD clock base\n", in s390_cpumsf_samples()
724 pr_err("Failed to write auxiliary data\n"); in s390_cpumsf_run_decoder()
742 pr_err("Failed to write auxiliary data\n"); in s390_cpumsf_run_decoder()
[all …]
Ddata.c194 pr_err("Can't remove old data: %s (%s)\n", in check_backup()
202 pr_err("Can't move data: %s (%s to %s)\n", in check_backup()
232 pr_err("failed to open %s: %s", data->file.path, in open_file_read()
235 pr_err(" (try 'perf record' first)"); in open_file_read()
236 pr_err("\n"); in open_file_read()
244 pr_err("File %s not owned by current user or root (use -f to override)\n", in open_file_read()
272 pr_err("failed to open %s : %s\n", data->file.path, in open_file_write()
Dcpumap.c303 pr_err("sysfs path crossed PATH_MAX(%d) size\n", PATH_MAX); in set_max_cpu_num()
314 pr_err("sysfs path crossed PATH_MAX(%d) size\n", PATH_MAX); in set_max_cpu_num()
322 pr_err("Failed to read max cpus, using default of %d\n", max_cpu_num); in set_max_cpu_num()
342 pr_err("sysfs path crossed PATH_MAX(%d) size\n", PATH_MAX); in set_max_node_num()
350 pr_err("Failed to read max nodes, using default of %d\n", max_node_num); in set_max_node_num()
397 pr_err("%s: calloc failed\n", __func__); in init_cpunode_map()
427 pr_err("sysfs path crossed PATH_MAX(%d) size\n", PATH_MAX); in cpu__setup_cpunode_map()
442 pr_err("sysfs path crossed PATH_MAX(%d) size\n", PATH_MAX); in cpu__setup_cpunode_map()
Dauxtrace.c88 pr_err("Cannot use AUX area tracing mmaps\n"); in auxtrace_mmap__mmap()
514 pr_err("AUX area tracing is not supported on this architecture\n"); in auxtrace_not_supported()
592 pr_err("No AUX area tracing to snapshot\n"); in auxtrace_parse_snapshot_options()
1149 pr_err("Bad Instruction Tracing options '%s'\n", str); in itrace_parse_synth_opts()
1758 pr_err("#%d\t0x%"PRIx64"\t%c\t%s\n", in print_kern_sym_cb()
1763 pr_err("\t\twhich is near\t\t%s\n", name); in print_kern_sym_cb()
1772 pr_err("N'th occurrence (N=%d) of symbol '%s' not found.\n", in sym_not_found_error()
1775 pr_err("Global symbol '%s' not found.\n", sym_name); in sym_not_found_error()
1777 pr_err("Symbol '%s' not found.\n", sym_name); in sym_not_found_error()
1779 pr_err("Note that symbols must be functions.\n"); in sym_not_found_error()
[all …]
/tools/include/linux/
Dlockdep.h52 #define pr_err(format, ...) fprintf (stderr, format, ## __VA_ARGS__) macro
53 #define pr_warn pr_err
54 #define pr_cont pr_err
/tools/testing/selftests/powerpc/tm/
Dtm-unavailable.c41 #define pr_err(code, format, ...) err_at_line(1, code, format, ##__VA_ARGS__) macro
320 pr_err(rc, "pthread_create()"); in test_fp_vec()
326 pr_err(rc, "pthread_join"); in test_fp_vec()
355 pr_err(rc, "pthread_attr_init()"); in tm_unavailable_test()
360 pr_err(rc, "pthread_attr_setaffinity_np()"); in tm_unavailable_test()
364 pr_err(rc, "pthread_create()"); in tm_unavailable_test()
/tools/perf/arch/arm/util/
Dauxtrace.c27 pr_err("spes alloc failed\n"); in find_all_arm_spe_pmus()
35 pr_err("sprintf failed\n"); in find_all_arm_spe_pmus()
89 pr_err("Concurrent ARM Coresight ETM and SPE operation not currently supported\n"); in auxtrace_record__init()
/tools/perf/tests/
Ddwarf-unwind.c184 pr_err("Could not get machine\n"); in test__dwarf_unwind()
189 pr_err("Failed to create kernel maps\n"); in test__dwarf_unwind()
197 pr_err("Could not init machine\n"); in test__dwarf_unwind()
206 pr_err("Could not get thread\n"); in test__dwarf_unwind()
/tools/perf/arch/x86/util/
Dunwind-libunwind.c69 pr_err("unwind: invalid reg id %d\n", regnum); in LIBUNWIND__ARCH_REG_ID()
109 pr_err("unwind: invalid reg id %d\n", regnum); in LIBUNWIND__ARCH_REG_ID()

12345