Home
last modified time | relevance | path

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

123456

/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/testing/selftests/net/
Dso_netns_cookie.c17 #define pr_err(fmt, ...) \ macro
32 return pr_err("Unable to create TCP socket"); in main()
36 return pr_err("getsockopt(SOL_SOCKET, SO_NETNS_COOKIE)"); in main()
39 return pr_err("SO_NETNS_COOKIE returned zero cookie"); in main()
42 return pr_err("unshare"); in main()
46 return pr_err("Unable to create TCP socket"); in main()
50 return pr_err("getsockopt(SOL_SOCKET, SO_NETNS_COOKIE)"); in main()
53 return pr_err("SO_NETNS_COOKIE returned zero cookie"); in main()
56 return pr_err("SO_NETNS_COOKIE returned identical cookies for distinct ns"); in main()
Dipsec.c42 #define pr_err(fmt, ...) printk(fmt ": %m", ##__VA_ARGS__) macro
106 pr_err("unshare()"); in unshare_open()
112 pr_err("open(%s)", netns_path); in unshare_open()
122 pr_err("setns()"); in switch_ns()
163 pr_err("socket(AF_NETLINK)"); in netlink_sock()
255 pr_err("recv()"); in netlink_check_answer()
313 pr_err("send()"); in veth_add()
355 pr_err("send()"); in ip4_addr_set()
381 pr_err("send()"); in link_set_up()
419 pr_err("send()"); in ip4_route_set()
[all …]
/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.c414 pr_err("invalid graph depth: %d\n", ftrace->graph_depth); in set_tracing_depth()
506 pr_err("failed to set ftrace pid\n"); in set_tracing_options()
511 pr_err("failed to set tracing cpumask\n"); in set_tracing_options()
516 pr_err("failed to set tracing option func_stack_trace\n"); in set_tracing_options()
521 pr_err("failed to set tracing option irq-info\n"); in set_tracing_options()
526 pr_err("failed to set tracing filters\n"); in set_tracing_options()
531 pr_err("failed to set graph depth\n"); in set_tracing_options()
536 pr_err("failed to set tracing per-cpu buffer size\n"); in set_tracing_options()
541 pr_err("failed to set tracing option function-fork\n"); in set_tracing_options()
546 pr_err("failed to set tracing option sleep-time\n"); in set_tracing_options()
[all …]
Dbuiltin-data.c62 pr_err("You cannot specify both --to-ctf and --to-json.\n"); in cmd_data_convert()
66 pr_err("You must specify one of --to-ctf or --to-json.\n"); in cmd_data_convert()
77 pr_err("The libbabeltrace support is not compiled in. perf should be " in cmd_data_convert()
114 pr_err("Unknown command: %s\n", cmdstr); in cmd_data()
/tools/bootconfig/
Dmain.c171 pr_err("%s: %d\n", msg, err); in pr_errno()
213 pr_err("bootconfig size is too big\n"); in load_xbc_from_initrd()
228 pr_err("checksum error: %d != %d\n", csum, rcsum); in load_xbc_from_initrd()
235 pr_err("parse error: %s.\n", msg); in load_xbc_from_initrd()
247 pr_err("Error: %s.\n", msg); in show_xbc_error()
259 pr_err("Parse Error: %s at %d:%d\n", msg, lin, col); in show_xbc_error()
289 pr_err("Failed to stat %s: %d\n", path, ret); in show_xbc()
296 pr_err("Failed to open initrd %s: %d\n", path, ret); in show_xbc()
303 pr_err("Failed to load a boot config from initrd: %d\n", ret); in show_xbc()
310 pr_err("Failed to load a boot config: %d\n", ret); in show_xbc()
[all …]
/tools/testing/selftests/timens/
Dprocfs.c62 return pr_err("The same child_ns after CLONE_NEWTIME"); in init_namespaces()
86 pr_err("failed to parse /proc/uptime"); in read_proc_uptime()
118 pr_err("failed to parse /proc/stat"); in read_proc_stat_btime()
130 return pr_err("switch_ns(%d)", parent_ns); in check_uptime()
136 return pr_err("switch_ns(%d)", child_ns); in check_uptime()
159 return pr_err("switch_ns(%d)", parent_ns); in check_stat_btime()
165 return pr_err("switch_ns(%d)", child_ns); in check_stat_btime()
Dlog.h12 #define pr_err(fmt, ...) \ macro
24 #define pr_perror(fmt, ...) pr_p(pr_err, fmt, ##__VA_ARGS__)
/tools/perf/bench/
Devlist-open-close.c81 pr_err("Not enough memory to create evlist\n"); in bench__create_evlist()
88 pr_err("Run 'perf list' for a list of valid events\n"); in bench__create_evlist()
95 pr_err("Not enough memory to create thread/cpu maps\n"); in bench__create_evlist()
114 pr_err("evlist__open: %s\n", str_error_r(errno, sbuf, sizeof(sbuf))); in bench__do_evlist_open_close()
120 pr_err("evlist__mmap: %s\n", str_error_r(errno, sbuf, sizeof(sbuf))); in bench__do_evlist_open_close()
193 pr_err("strbuf_init: %s\n", str_error_r(err, sbuf, sizeof(sbuf))); in bench__repeat_event_string()
200 pr_err("strbuf_add: %s\n", str_error_r(err, sbuf, sizeof(sbuf))); in bench__repeat_event_string()
206 pr_err("strbuf_addch: %s\n", str_error_r(err, sbuf, sizeof(sbuf))); in bench__repeat_event_string()
233 pr_err("%s\n", errbuf); in bench_evlist_open_close()
240 pr_err("%s", errbuf); in bench_evlist_open_close()
/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()
Ddata-convert-bt.c108 pr_err("failed to create a field %s\n", name); in value_set()
115 pr_err("failed to set field value %s\n", name); in value_set()
121 pr_err("failed to set field value %s\n", name); in value_set()
128 pr_err("failed to set payload %s\n", name); in value_set()
168 pr_err("failed to create a field %s\n", name); in value_set_string()
174 pr_err("failed to set value %s\n", name); in value_set_string()
180 pr_err("failed to set payload %s\n", name); in value_set_string()
271 pr_err("failed to set unprintable string '%s'\n", string); in string_set_value()
330 pr_err("Failed to create array type %s\n", name); in add_tracepoint_field_value()
350 pr_err("failed to create a field %s\n", name); in add_tracepoint_field_value()
[all …]
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.c119 pr_err("ERROR:\tunable to find %s.\n" in search_program_and_warn()
140 pr_err("ERROR: unable to popen cmd: %s\n", in read_from_pipe()
157 pr_err("ERROR: failed to realloc memory\n"); in read_from_pipe()
168 pr_err("ERROR: internal error\n"); in read_from_pipe()
174 pr_err("ERROR: error occurred when reading from pipe: %s\n", in read_from_pipe()
229 pr_err( in version_notice()
407 pr_err( in llvm__get_nr_cpus()
470 pr_err("ERROR: problems with path %s: %s\n", in llvm__compile_bpf()
516 pr_err("ERROR:\tnot enough memory to setup command line\n"); in llvm__compile_bpf()
569 pr_err("ERROR:\tunable to compile %s\n", path); in llvm__compile_bpf()
[all …]
Dparse-sublevel-options.c17 pr_err("no memory\n"); in parse_one_sublevel_option()
32 pr_err("Unknown option name '%s'\n", s); in parse_one_sublevel_option()
53 pr_err("no memory\n"); in perf_parse_sublevel_options()
Dbpf_counter_cgroup.c57 pr_err("Failed to open cgroup skeleton\n"); in bperf_load_program()
81 pr_err("Failed to load cgroup skeleton\n"); in bperf_load_program()
92 pr_err("Failed to open cgroup switches event\n"); in bperf_load_program()
100 pr_err("Failed to attach cgroup program\n"); in bperf_load_program()
120 pr_err("Failed to open first cgroup events\n"); in bperf_load_program()
133 pr_err("Failed to update perf_event fd\n"); in bperf_load_program()
148 pr_err("Failed to get cgroup id\n"); in bperf_load_program()
156 pr_err("Failed to update cgroup index map\n"); in bperf_load_program()
269 pr_err("bpf map lookup falied: idx=%u, event=%s, cgrp=%s\n", in bperf_cgrp__read()
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_counter.c113 pr_err("Failed to open fd for bpf prog %u\n", prog_id); in bpf_program_profiler_load_one()
124 pr_err("Failed to open bpf skeleton\n"); in bpf_program_profiler_load_one()
136 pr_err("Failed to get program name for bpf prog %u. Does it have BTF?\n", prog_id); in bpf_program_profiler_load_one()
143 pr_err("bpf_program__set_attach_target failed.\n" in bpf_program_profiler_load_one()
151 pr_err("bpf_prog_profiler_bpf__load failed\n"); in bpf_program_profiler_load_one()
181 pr_err("Failed to parse bpf prog ids %s\n", in bpf_program_profiler__load()
255 pr_err("failed to read value\n"); in bpf_program_profiler__read()
363 pr_err("bpf managed perf events do not yet support groups.\n"); in bperf_check_target()
381 pr_err("bpf managed perf events do not yet support these targets.\n"); in bperf_check_target()
398 pr_err("Failed to open leader skeleton\n"); in bperf_reload_leader_program()
[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/bpf/resolve_btfids/
Dmain.c140 #define pr_err(fmt, ...) \ macro
243 pr_err("FAILED to parse set name: %s\n", name); in add_set()
256 pr_err("FAILED to parse symbol name: %s\n", name); in add_symbol()
294 pr_err("FAILED cannot update section header: %s\n", in compressed_section_fix()
311 pr_err("FAILED cannot open %s: %s\n", in elf_collect()
321 pr_err("FAILED cannot create ELF descriptor: %s\n", in elf_collect()
332 pr_err("FAILED cannot get shdr str ndx\n"); in elf_collect()
347 pr_err("FAILED get section(%d) header\n", idx); in elf_collect()
353 pr_err("FAILED get section(%d) name\n", idx); in elf_collect()
359 pr_err("FAILED to get section(%d) data from %s\n", in elf_collect()
[all …]
/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()
359 pr_err(rc, "pthread_attr_init()"); in tm_unavailable_test()
364 pr_err(rc, "pthread_attr_setaffinity_np()"); in tm_unavailable_test()
368 pr_err(rc, "pthread_create()"); in tm_unavailable_test()

123456