Home
last modified time | relevance | path

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

12345678

/tools/testing/selftests/filesystems/nsfs/
A 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()
65 return pr_err("fstat"); in main()
69 return pr_err("stat"); in main()
79 return pr_err("Don't get EPERM"); in main()
82 return pr_err("unshare"); in main()
85 return pr_err("Don't get EPERM"); in main()
[all …]
A 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/
A 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()
A Dipsec.c144 pr_err("unshare()"); in unshare_open()
160 pr_err("setns()"); in switch_ns()
294 pr_err("recv()"); in netlink_check_answer()
352 pr_err("send()"); in veth_add()
394 pr_err("send()"); in ip4_addr_set()
420 pr_err("send()"); in link_set_up()
458 pr_err("send()"); in ip4_route_set()
611 pr_err("read()"); in read_msg()
640 pr_err("bind()"); in udp_ping_init()
959 pr_err("send()"); in xfrm_state_add()
[all …]
/tools/perf/tests/
A Dpmu.c33 pr_err("Failure to \"%s\"\n", buf); in test_pmu_put()
73 pr_err("mkdtemp failed\n"); in test_pmu_get()
85 pr_err("Failed to mkdir PMU directory\n"); in test_pmu_get()
96 pr_err("Failed to write to 'type' file\n"); in test_pmu_get()
148 pr_err("Test PMU creation failed\n"); in test_pmu_get()
174 pr_err("Term parsing failed\n"); in test__pmu_format()
182 pr_err("perf_pmu__config_terms failed"); in test__pmu_format()
223 pr_err("Failed allocation"); in test__pmu_events()
309 pr_err("Sysfs not mounted\n"); in test__pmu_event_names()
316 pr_err("Error opening \"%s\"\n", path); in test__pmu_event_names()
[all …]
A Dhwmon_pmu.c43 pr_err("Failure to set up buffer for \"%s\"\n", dir); in test_pmu_put()
48 pr_err("Failure to \"%s\"\n", buf); in test_pmu_put()
81 pr_err("mkdtemp failed\n"); in test_pmu_get()
87 pr_err("Failed to open test directory \"%s\"\n", dir); in test_pmu_get()
93 pr_err("Failed to mkdir hwmon directory\n"); in test_pmu_get()
99 pr_err("Failed to open test hwmon directory \"%s\"\n", dir); in test_pmu_get()
104 pr_err("Failed to open for writing file \"name\"\n"); in test_pmu_get()
110 pr_err("Failed to write to 'name' file\n"); in test_pmu_get()
126 pr_err("Failed to write to file \"%s\"\n", item->name); in test_pmu_get()
136 pr_err("Test hwmon creation failed\n"); in test_pmu_get()
[all …]
A Dmmap-basic.c139 pr_err("Can't parse sample, err = %d\n", err); in test__basic_mmap()
229 pr_err("User space counter reading %" PRIu64 "\n", event); in test_stat_user_read()
231 pr_err("User space counter reading [Failed to create threads]\n"); in test_stat_user_read()
267 pr_err("User space counter reading for PMU %s [Failed to allocate evsel]\n", in test_stat_user_read()
275 pr_err("User space counter reading for PMU %s [Failed to open evsel]\n", in test_stat_user_read()
283 pr_err("User space counter reading for PMU %s [Failed to mmap evsel]\n", in test_stat_user_read()
292 pr_err("User space counter reading for PMU %s [Failed to get mmaped address]\n", in test_stat_user_read()
304pr_err("User space counter reading for PMU %s [Failed unexpected supported counter access %d %d]\n… in test_stat_user_read()
311pr_err("User space counter reading for PMU %s [Failed unexpected unsupported counter access %d]\n", in test_stat_user_read()
318 pr_err("User space counter reading for PMU %s [Failed width not set %d]\n", in test_stat_user_read()
[all …]
/tools/perf/
A Dbuiltin-config.c143 pr_err("The config variable does not contain a value: %s\n", arg); in parse_config_arg()
149 pr_err("invalid config variable: %s\n", arg); in parse_config_arg()
180 pr_err("Failed to add '%s=%s'\n", var, value); in perf_config__set_variable()
185 pr_err("Failed to set the configs on %s\n", config_filename); in perf_config__set_variable()
208 pr_err("Error: only one config file at a time\n"); in cmd_config()
235 pr_err("Error: takes no arguments\n"); in cmd_config()
240 pr_err("Nothing configured, " in cmd_config()
255 pr_err("%s: strdup failed\n", __func__); in cmd_config()
266 pr_err("%s is not configured: %s\n", in cmd_config()
274 pr_err("Failed to add '%s=%s'\n", in cmd_config()
[all …]
A Dbuiltin-ftrace.c81 pr_err("ftrace only works for %s!\n", in check_ftrace_capable()
754 pr_err("failed to reset ftrace\n"); in __cmd_ftrace()
795 pr_err("can't enable tracing\n"); in __cmd_ftrace()
805 pr_err("can't enable tracing\n"); in __cmd_ftrace()
1052 pr_err("failed to reset ftrace\n"); in prepare_func_latency()
1091 pr_err("can't enable tracing\n"); in start_func_latency()
1435 pr_err("failed to reset ftrace\n"); in __cmd_profile()
1471 pr_err("can't enable tracing\n"); in __cmd_profile()
1565 pr_err("Source: \"%s\"\n", str); in opt_list_avail_functions()
1974 pr_err("Invalid subcommand\n"); in cmd_ftrace()
[all …]
A Dbuiltin-data.c62 pr_err("You cannot specify both --to-ctf and --to-json.\n"); in cmd_data_convert()
67 pr_err("You must specify one of --to-ctf or --to-json.\n"); in cmd_data_convert()
72 pr_err("You must specify --to-json.\n"); in cmd_data_convert()
84 pr_err("The libbabeltrace support is not compiled in. perf should be " in cmd_data_convert()
122 pr_err("Unknown command: %s\n", cmdstr); in cmd_data()
/tools/virtio/virtio-trace/
A 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()
A Dtrace-agent.c35 pr_err("Could not read cpus\n"); in get_total_cpus()
38 pr_err("Exceed max cpus(%d)\n", (int)MAX_CPUS); in get_total_cpus()
55 pr_err("agent_info zalloc error\n"); in agent_info_new()
89 pr_err("Pipe size must be less than 1MB\n"); in parse_size()
92 pr_err("Pipe size must be over 64KB\n"); in parse_size()
107 pr_err("usage: %s [-h] [-o] [-s <size of pipe>]\n", prg); in usage()
117 pr_err("Could not allocate buffer\n"); in make_path()
132 pr_err("Failed to generate %s path(CPU#%d):%d\n", in make_path()
239 pr_err("pthread_join() error:%d (cpu %d)\n", ret, cpu); in agent_main_loop()
A 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/bootconfig/
A Dmain.c18 #define pr_err(fmt, ...) fprintf(stderr, fmt, ##__VA_ARGS__) macro
177 pr_err("%s: %d\n", msg, err); in pr_errno()
219 pr_err("bootconfig size is too big\n"); in load_xbc_from_initrd()
234 pr_err("checksum error: %u != %u\n", csum, rcsum); in load_xbc_from_initrd()
241 pr_err("parse error: %s.\n", msg); in load_xbc_from_initrd()
253 pr_err("Error: %s.\n", msg); in show_xbc_error()
295 pr_err("Failed to stat %s: %d\n", path, ret); in show_xbc()
382 pr_err("Failed to load %s : %d\n", xbc_path, ret); in apply_xbc()
425 pr_err("Failed to open %s: %d\n", path, ret); in apply_xbc()
432 pr_err("Failed to get the size of %s\n", path); in apply_xbc()
[all …]
/tools/testing/selftests/timens/
A Dprocfs.c60 return pr_err("The same child_ns after CLONE_NEWTIME"); in init_namespaces()
84 pr_err("failed to parse /proc/uptime"); in read_proc_uptime()
116 pr_err("failed to parse /proc/stat"); in read_proc_stat_btime()
128 return pr_err("switch_ns(%d)", parent_ns); in check_uptime()
134 return pr_err("switch_ns(%d)", child_ns); in check_uptime()
157 return pr_err("switch_ns(%d)", parent_ns); in check_stat_btime()
163 return pr_err("switch_ns(%d)", child_ns); in check_stat_btime()
/tools/perf/util/
A Dbpf-filter.c293 pr_err("cannot get fd for 'event_hash' map\n"); in create_event_hash()
302 pr_err("Failed to get the event id\n"); in create_event_hash()
360 pr_err("cannot get fd for 'filters' map\n"); in create_idx_hash()
372 pr_err("Too many users for the filter map\n"); in create_idx_hash()
378 pr_err("Cannot save pinned filter index\n"); in create_idx_hash()
387 pr_err("Cannot update the event hash\n"); in create_idx_hash()
402 pr_err("cannot get fd for 'idx_hash' map\n"); in create_idx_hash()
428 pr_err("Failed to update the idx_hash\n"); in create_idx_hash()
463 pr_err("Failed to process filter entries\n"); in perf_bpf_filter__prepare()
520 pr_err("Failed to update the filter map\n"); in perf_bpf_filter__prepare()
[all …]
A Ddata-convert-bt.c132 pr_err("failed to set payload %s\n", name); in value_set()
178 pr_err("failed to set value %s\n", name); in value_set_string()
184 pr_err("failed to set payload %s\n", name); in value_set_string()
707 pr_err("Failed to create CTF stream\n"); in ctf_stream__create()
720 pr_err("Failed to obtain cpu field\n"); in ctf_stream__create()
726 pr_err("Failed to update CPU number\n"); in ctf_stream__create()
1055 pr_err("Failed to add field '%s': %d\n", in add_tracepoint_fields_types()
1352 pr_err("Failed to allocate streams.\n"); in setup_streams()
1493 pr_err("Failed to create data types.\n"); in ctf_writer__init_data()
1579 pr_err("Failed to setup CTF writer.\n"); in ctf_writer__init()
[all …]
A Dzstd.c43 pr_err("Couldn't create compression stream.\n"); in zstd_compress_stream_to_records()
49 pr_err("Failed to initialize compression stream: %s\n", in zstd_compress_stream_to_records()
66 pr_err("failed to compress %ld bytes: %s\n", in zstd_compress_stream_to_records()
91 pr_err("Couldn't create decompression stream.\n"); in zstd_decompress_stream()
97 pr_err("Failed to initialize decompression stream: %s\n", in zstd_decompress_stream()
105 pr_err("failed to decompress (B): %zd -> %zd, dst_size %zd : %s\n", in zstd_decompress_stream()
A 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()
A Dbpf_off_cpu.c50 pr_err("Failed to open off-cpu event\n"); in off_cpu_config()
86 pr_err("%s evsel not found\n", OFFCPU_EVENT); in off_cpu_start()
156 pr_err("Failed to config off-cpu BPF event\n"); in off_cpu_prepare()
162 pr_err("Failed to open off-cpu BPF skeleton\n"); in off_cpu_prepare()
176 pr_err("Failed to create a strlist for pid\n"); in off_cpu_prepare()
229 pr_err("Failed to load off-cpu skeleton\n"); in off_cpu_prepare()
287 pr_err("Failed to read cgroup id of %s\n", in off_cpu_prepare()
300 pr_err("Failed to attach off-cpu BPF skeleton\n"); in off_cpu_prepare()
306 pr_err("Failed to attach off-cpu skeleton\n"); in off_cpu_prepare()
338 pr_err("%s evsel not found\n", OFFCPU_EVENT); in off_cpu_write()
[all …]
A Dbpf_ftrace.c28 pr_err("ERROR: Too many target functions.\n"); in perf_ftrace__latency_prepare_bpf()
40 pr_err("ERROR: Needs two target events.\n"); in perf_ftrace__latency_prepare_bpf()
47 pr_err("Failed to open func latency skeleton\n"); in perf_ftrace__latency_prepare_bpf()
77 pr_err("Failed to load func latency skeleton\n"); in perf_ftrace__latency_prepare_bpf()
111 pr_err("Failed to attach fentry program\n"); in perf_ftrace__latency_prepare_bpf()
119 pr_err("Failed to attach fexit program\n"); in perf_ftrace__latency_prepare_bpf()
131 pr_err("Failed to attach first tracepoint program\n"); in perf_ftrace__latency_prepare_bpf()
141 pr_err("Failed to attach second tracepoint program\n"); in perf_ftrace__latency_prepare_bpf()
/tools/perf/bench/
A Devlist-open-close.c67 pr_err("Not enough memory to create evlist\n"); in bench__create_evlist()
76 pr_err("Run 'perf list' for a list of valid events\n"); in bench__create_evlist()
85 pr_err("Invalid User: %s", uid_str); 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()
257 pr_err("%s\n", errbuf); in bench_evlist_open_close()
A Dpmu-scan.c89 pr_err("Cannot find PMU %s\n", r->name); in check_result()
94 pr_err("Unmatched number of event caps in %s: expect %d vs got %d\n", in check_result()
101 pr_err("Unmatched number of event aliases in %s: expect %d vs got %d\n", in check_result()
110 pr_err("Unmatched number of event formats in %s: expect %d vs got %d\n", in check_result()
141 pr_err("Failed to initialize PMU scan result\n"); in run_pmu_scan()
/tools/bpf/resolve_btfids/
A Dmain.c168 #define pr_err(fmt, ...) \ macro
271 pr_err("FAILED to parse set name: %s\n", name); in add_set()
340 pr_err("FAILED cannot open %s: %s\n", in elf_collect()
361 pr_err("FAILED cannot get shdr str ndx\n"); in elf_collect()
366 pr_err("FAILED cannot get ELF header: %s\n", in elf_collect()
383 pr_err("FAILED get section(%d) header\n", idx); in elf_collect()
389 pr_err("FAILED get section(%d) name\n", idx); in elf_collect()
547 pr_err("FAILED: load base BTF from %s: %s\n", in symbols_resolve()
556 pr_err("FAILED: load BTF from %s: %s\n", in symbols_resolve()
697 pr_err("FAILED malformed data for set '%s'\n", in sets_patch()
[all …]
/tools/testing/selftests/powerpc/tm/
A 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()

Completed in 41 milliseconds

12345678