Home
last modified time | relevance | path

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

12345678

/tools/perf/arch/x86/tests/
Dbp-modify.c20 pr_debug("in %s\n", __func__); in bp_1()
26 pr_debug("in %s\n", __func__); in bp_2()
43 pr_debug("failed to PTRACE_TRACEME\n"); in spawn_child()
69 pr_debug("tracee exited prematurely 1\n"); in bp_modify1()
83 pr_debug("failed to set breakpoint, 1st time: %s\n", in bp_modify1()
90 pr_debug("failed to set breakpoint, 2nd time: %s\n", in bp_modify1()
97 pr_debug("failed to set dr7: %s\n", strerror(errno)); in bp_modify1()
102 pr_debug("failed to PTRACE_CONT: %s\n", strerror(errno)); in bp_modify1()
108 pr_debug("tracee exited prematurely 2\n"); in bp_modify1()
115 pr_debug("failed to PTRACE_PEEKUSER: %s\n", in bp_modify1()
[all …]
Dintel-pt-pkt-decoder-test.c187 pr_debug(" %02x", bytes[i]); in dump_packet()
189 pr_debug(" "); in dump_packet()
190 pr_debug(" "); in dump_packet()
193 pr_debug("intel_pt_pkt_desc failed!\n"); in dump_packet()
196 pr_debug("%s\n", desc); in dump_packet()
203 pr_debug("Decoding failed!\n"); in decoding_failed()
204 pr_debug("Decoding: "); in decoding_failed()
214 pr_debug("Expected length: %d Decoded length %d\n", in fail()
218 pr_debug("Expected type: %d Decoded type %d\n", in fail()
222 pr_debug("Expected count: %d Decoded count %d\n", in fail()
[all …]
Dinsn-x86.c64 pr_debug("Failed to get op\n"); in get_op()
91 pr_debug("Failed to get branch\n"); in get_branch()
105 pr_debug("Failed to decode: %s\n", dat->asm_rep); in test_data_item()
110 pr_debug("Failed to decode length (%d vs expected %d): %s\n", in test_data_item()
119 pr_debug("Intel PT failed to decode: %s\n", dat->asm_rep); in test_data_item()
124 pr_debug("Failed to decode 'op' value (%d vs expected %d): %s\n", in test_data_item()
130 pr_debug("Failed to decode 'branch' value (%d vs expected %d): %s\n", in test_data_item()
136 pr_debug("Failed to decode 'rel' value (%#x vs expected %#x): %s\n", in test_data_item()
141 pr_debug("Decoded ok: %s\n", dat->asm_rep); in test_data_item()
Dsample-parsing.c20 pr_debug("Samples differ at '"#m"'\n"); \
59 pr_debug("malloc failed\n"); in do_test()
70 pr_debug("%s failed for sample_type %#"PRIx64", error %d\n", in do_test()
81 pr_debug("Event size mismatch: actual %zu vs expected %zu\n", in do_test()
90 pr_debug("%s failed for sample_type %#"PRIx64", error %d\n", in do_test()
96 pr_debug("parsing failed for sample_type %#"PRIx64"\n", in do_test()
/tools/perf/tests/
Dcode-reading.c143 pr_debug("getline failed\n"); in read_objdump_output()
156 pr_debug("addr going backwards, read beyond section?\n"); in read_objdump_output()
193 pr_debug("Objdump command is: %s\n", cmd); in read_via_objdump()
200 pr_debug("popen failed\n"); in read_via_objdump()
206 pr_debug("objdump read too few bytes: %zd\n", len); in read_via_objdump()
221 pr_debug("0x%02x ", buf[i]); in dump_buf()
223 pr_debug("\n"); in dump_buf()
225 pr_debug("\n"); in dump_buf()
241 pr_debug("Reading object code for memory address: %#"PRIx64"\n", addr); in read_object_code()
245 pr_debug("Hypervisor address can not be resolved - skipping\n"); in read_object_code()
[all …]
Devent-times.c27 pr_debug("attaching to spawned child, enable on exec\n"); in attach__enable_on_exec()
31 pr_debug("Not enough memory to create thread/cpu maps\n"); in attach__enable_on_exec()
37 pr_debug("Couldn't run the workload!\n"); in attach__enable_on_exec()
45 pr_debug("perf_evlist__open: %s\n", in attach__enable_on_exec()
65 pr_debug("attaching to current thread as disabled\n"); in attach__current_disabled()
69 pr_debug("thread_map__new\n"); in attach__current_disabled()
77 pr_debug("Failed to open event cpu-clock:u\n"); in attach__current_disabled()
91 pr_debug("attaching to current thread as enabled\n"); in attach__current_enabled()
95 pr_debug("failed to call thread_map__new\n"); in attach__current_enabled()
118 pr_debug("attaching to CPU 0 as enabled\n"); in attach__cpu_disabled()
[all …]
Dperf-record.c77 pr_debug("Not enough memory to create evlist\n"); in test__PERF_RECORD()
89 pr_debug("Not enough memory to create thread/cpu maps\n"); in test__PERF_RECORD()
101 pr_debug("Couldn't run the workload!\n"); in test__PERF_RECORD()
116 pr_debug("sched__get_first_possible_cpu: %s\n", in test__PERF_RECORD()
127 pr_debug("sched_setaffinity: %s\n", in test__PERF_RECORD()
138 pr_debug("perf_evlist__open: %s\n", in test__PERF_RECORD()
150 pr_debug("evlist__mmap: %s\n", in test__PERF_RECORD()
189 pr_debug("Couldn't parse sample\n"); in test__PERF_RECORD()
199 pr_debug("%s going backwards in time, prev=%" PRIu64 ", curr=%" PRIu64 "\n", in test__PERF_RECORD()
207 pr_debug("%s with unexpected cpu, expected %d, got %d\n", in test__PERF_RECORD()
[all …]
Dswitch-tracking.c80 pr_debug("Duplicate comm event\n"); in check_comm()
133 pr_debug("evlist__parse_sample failed\n"); in process_sample_event()
153 pr_debug("Missing sched_switch events\n"); in process_sample_event()
199 pr_debug("Unexpected comm event\n"); in process_event()
221 pr_debug("malloc failed\n"); in add_event()
228 pr_debug("evlist__parse_sample failed\n"); in add_event()
233 pr_debug("event with no time\n"); in add_event()
289 pr_debug("calloc failed\n"); in process_events()
309 pr_debug("%u events recorded\n", cnt); in process_events()
348 pr_debug("thread_map__new failed!\n"); in test__switch_tracking()
[all …]
Dfdarray.c37 pr_debug("\nfdarray__new() failed!"); in test__fdarray__filter()
44 pr_debug("\nfdarray__filter()=%d != %d shouldn't have filtered anything", in test__fdarray__filter()
52 pr_debug("\nfdarray__filter()=%d != %d, should have filtered all fds", in test__fdarray__filter()
60 pr_debug("\nfiltering all but fda->entries[2]:"); in test__fdarray__filter()
65 pr_debug("\nfdarray__filter()=%d != 1, should have left just one event", nr_fds); in test__fdarray__filter()
73 pr_debug("\nfiltering all but (fda->entries[0], fda->entries[3]):"); in test__fdarray__filter()
78 pr_debug("\nfdarray__filter()=%d != 2, should have left just two events", in test__fdarray__filter()
83 pr_debug("\n"); in test__fdarray__filter()
98 pr_debug("\nfdarray__new() failed!"); in test__fdarray__add()
104 pr_debug("\n%d: fda->entries[%d](%d) != %d!", \ in test__fdarray__add()
[all …]
Dopenat-syscall-all-cpus.c34 pr_debug("thread_map__new\n"); in test__openat_syscall_event_on_all_cpus()
40 pr_debug("perf_cpu_map__new\n"); in test__openat_syscall_event_on_all_cpus()
49 pr_debug("%s\n", errbuf); in test__openat_syscall_event_on_all_cpus()
54 pr_debug("failed to open counter: %s, " in test__openat_syscall_event_on_all_cpus()
69 pr_debug("Ignoring CPU %d\n", cpus->map[cpu]); in test__openat_syscall_event_on_all_cpus()
75 pr_debug("sched_setaffinity() failed on CPU %d: %s ", in test__openat_syscall_event_on_all_cpus()
93 pr_debug("evsel__alloc_counts(ncpus=%d)\n", cpus->nr); in test__openat_syscall_event_on_all_cpus()
106 pr_debug("evsel__read_on_cpu\n"); in test__openat_syscall_event_on_all_cpus()
113 pr_debug("evsel__read_on_cpu: expected to intercept %d calls on cpu %d, got %" PRIu64 "\n", in test__openat_syscall_event_on_all_cpus()
Dexpand-cgroup.c34 pr_debug("memory allocation failure\n"); in test_expand_events()
41 pr_debug("memory allocation failure\n"); in test_expand_events()
52 pr_debug("failed to expand events for cgroups\n"); in test_expand_events()
58 pr_debug("event count doesn't match\n"); in test_expand_events()
65 pr_debug("event name doesn't match:\n"); in test_expand_events()
66 pr_debug(" evsel[%d]: %s\n expected: %s\n", in test_expand_events()
71 pr_debug("cgroup name doesn't match:\n"); in test_expand_events()
72 pr_debug(" evsel[%d]: %s\n expected: %s\n", in test_expand_events()
79 pr_debug("event group doesn't match: got %s, expect %s\n", in test_expand_events()
85 pr_debug("event group member doesn't match: %d vs %d\n", in test_expand_events()
[all …]
Dtime-utils-test.c17 pr_debug("\nparse_nsec_time(\"%s\")\n", str); in test__parse_nsec_time()
21 pr_debug("error %d\n", err); in test__parse_nsec_time()
26 pr_debug("Failed. ptime %" PRIu64 " expected %" PRIu64 "\n", in test__parse_nsec_time()
31 pr_debug("%" PRIu64 "\n", ptime); in test__parse_nsec_time()
41 pr_debug("\nperf_time__parse_str(\"%s\")\n", ostr); in test__perf_time__parse_str()
45 pr_debug("Error %d\n", err); in test__perf_time__parse_str()
50 pr_debug("Failed. Expected %" PRIu64 " to %" PRIu64 "\n", in test__perf_time__parse_str()
82 pr_debug("\nperf_time__parse_for_ranges(\"%s\")\n", d->str); in test__perf_time__parse_for_ranges()
85 pr_debug("first_sample_time %" PRIu64 " last_sample_time %" PRIu64 "\n", in test__perf_time__parse_for_ranges()
91 pr_debug("error %d\n", err); in test__perf_time__parse_for_ranges()
[all …]
Dsdt.c36 pr_debug("Failed to read build id of %s\n", filename); in build_id_cache__add_file()
43 pr_debug("Failed to add build id cache of %s\n", filename); in build_id_cache__add_file()
52 pr_debug("Failed to get correct path of perf\n"); in get_self_path()
66 pr_debug("Failed to open probe cache of %s\n", target); in search_cached_probe()
71 pr_debug("Failed to find %s:%s in the cache\n", group, event); in search_cached_probe()
86 pr_debug("Failed to make a tempdir for build-id cache\n"); in test__sdt_event()
119 pr_debug("Skip SDT event test because SDT support is not compiled\n"); in test__sdt_event()
Dbp_signal.c127 pr_debug("failed opening event %llx\n", pe.config); in __event()
157 pr_debug("failed to read: %d\n", ret); in bp_count()
175 pr_debug("failed setting up signal handler\n"); in test__bp_signal()
181 pr_debug("failed setting up signal handler 2\n"); in test__bp_signal()
262 pr_debug("count1 %lld, count2 %lld, count3 %lld, overflow %d, overflows_2 %d\n", in test__bp_signal()
267 pr_debug("failed: RF EFLAG recursion issue detected\n"); in test__bp_signal()
269 pr_debug("failed: wrong count for bp1: %lld, expected 1\n", count1); in test__bp_signal()
273 pr_debug("failed: wrong overflow (%d) hit, expected 3\n", overflows); in test__bp_signal()
276 pr_debug("failed: wrong overflow_2 (%d) hit, expected 3\n", overflows_2); in test__bp_signal()
279 pr_debug("failed: wrong count for bp2 (%lld), expected 3\n", count2); in test__bp_signal()
[all …]
Dmmap-basic.c51 pr_debug("thread_map__new\n"); in test__basic_mmap()
57 pr_debug("perf_cpu_map__new\n"); in test__basic_mmap()
65 pr_debug("sched_setaffinity() failed on CPU %d: %s ", in test__basic_mmap()
72 pr_debug("evlist__new\n"); in test__basic_mmap()
84 pr_debug("evsel__new(%s)\n", name); in test__basic_mmap()
94 pr_debug("failed to open counter: %s, " in test__basic_mmap()
105 pr_debug("failed to mmap events: %d (%s)\n", errno, in test__basic_mmap()
124 pr_debug("unexpected %s event\n", in test__basic_mmap()
138 pr_debug("event with id %" PRIu64 in test__basic_mmap()
151 pr_debug("expected %d %s events, got %d\n", in test__basic_mmap()
Dopenat-syscall-tp-fields.c45 pr_debug("%s: evlist__new\n", __func__); in test__syscall_openat_tp_fields()
51 pr_debug("%s: evsel__newtp\n", __func__); in test__syscall_openat_tp_fields()
59 pr_debug("%s: evlist__create_maps\n", __func__); in test__syscall_openat_tp_fields()
69 pr_debug("perf_evlist__open: %s\n", in test__syscall_openat_tp_fields()
76 pr_debug("evlist__mmap: %s\n", in test__syscall_openat_tp_fields()
113 pr_debug("Can't parse sample, err = %d\n", err); in test__syscall_openat_tp_fields()
120 pr_debug("%s: Expected flags=%#x, got %#x\n", in test__syscall_openat_tp_fields()
134 pr_debug("%s: no events!\n", __func__); in test__syscall_openat_tp_fields()
Dbpf.c133 pr_debug("Failed to add events selected by BPF\n"); in do_test()
144 pr_debug("Not enough memory to create evlist\n"); in do_test()
150 pr_debug("Not enough memory to create thread/cpu maps\n"); in do_test()
161 pr_debug("perf_evlist__open: %s\n", in do_test()
168 pr_debug("evlist__mmap: %s\n", in do_test()
195pr_debug("BPF filter result incorrect, expected %d, got %d samples\n", expect * evlist->core.nr_en… in do_test()
213 pr_debug("Compile BPF program failed.\n"); in prepare_bpf()
230 pr_debug("Unable to get BPF object, %s\n", in __test__bpf()
242 pr_debug("Fail to load BPF object: %s\n", in __test__bpf()
245 pr_debug("Success unexpectedly: %s\n", in __test__bpf()
[all …]
Dopenat-syscall.c26 pr_debug("thread_map__new\n"); in test__openat_syscall_event()
33 pr_debug("%s\n", errbuf); in test__openat_syscall_event()
38 pr_debug("failed to open counter: %s, " in test__openat_syscall_event()
50 pr_debug("evsel__read_on_cpu\n"); in test__openat_syscall_event()
55 pr_debug("evsel__read_on_cpu: expected to intercept %d calls, got %" PRIu64 "\n", in test__openat_syscall_event()
Dsw-clock.c53 pr_debug("evlist__new\n"); in __test__sw_clock_freq()
59 pr_debug("evsel__new\n"); in __test__sw_clock_freq()
68 pr_debug("Not enough memory to create thread/cpu maps\n"); in __test__sw_clock_freq()
78 pr_debug("Couldn't open evlist: %s\nHint: check %s, using %" PRIu64 " in this test.\n", in __test__sw_clock_freq()
86 pr_debug("failed to mmap event: %d (%s)\n", errno, in __test__sw_clock_freq()
111 pr_debug("Error during parse sample\n"); in __test__sw_clock_freq()
124 pr_debug("All (%d) samples have period value of 1!\n", in __test__sw_clock_freq()
Dtask-exit.c63 pr_debug("evlist__new_default\n"); in test__task_exit()
77 pr_debug("Not enough memory to create thread/cpu maps\n"); in test__task_exit()
85 pr_debug("Couldn't run the workload!\n"); in test__task_exit()
103 pr_debug("Couldn't open the evlist: %s\n", in test__task_exit()
109 pr_debug("failed to mmap events: %d (%s)\n", errno, in test__task_exit()
135 pr_debug("Failed after retrying 1000 times\n"); in test__task_exit()
144 pr_debug("received %d EXIT records\n", nr_exit); in test__task_exit()
/tools/perf/util/
Dbpf-loader.c63 pr_debug("bpf: failed to load buffer\n"); in bpf__prepare_load_buffer()
88 pr_debug("bpf: builtin compilation failed: %d, try external compiler\n", err); in bpf__prepare_load()
93 pr_debug("bpf: successful builtin compilation\n"); in bpf__prepare_load()
104 pr_debug("bpf: failed to load %s\n", filename); in bpf__prepare_load()
224 pr_debug("config bpf program: %s=%s\n", key, value); in do_prog_config()
229 pr_debug("BPF: ERROR: invalid program config option: %s=%s\n", in do_prog_config()
232 pr_debug("\nHint: Valid options are:\n"); in do_prog_config()
234 pr_debug("\t%s:\t%s\n", bpf_prog_config_terms[i].usage, in do_prog_config()
236 pr_debug("\n"); in do_prog_config()
250 pr_debug("Not enough memory: dup config_str failed\n"); in parse_prog_config_kvpair()
[all …]
Dtrace-event-read.c40 pr_debug("repiping input file"); in __do_read()
58 pr_debug("reading input file (size expected=%d received=%d)", in do_read()
110 pr_debug("reading input file"); in read_string()
115 pr_debug("no data"); in read_string()
123 pr_debug("repiping input file string"); in read_string()
204 pr_debug("did not read header page"); in read_header_files()
215 pr_debug("did not read header page"); in read_header_files()
234 pr_debug("did not read header event"); in read_header_files()
251 pr_debug("memory allocation failure\n"); in read_ftrace_file()
257 pr_debug("error reading ftrace file.\n"); in read_ftrace_file()
[all …]
Dtrace-event-info.c53 pr_debug("Can't read '%s'", file); in record_file()
78 pr_debug("writing file size failed\n"); in record_file()
95 pr_debug("can't get tracing/events/header_page"); in record_header_files()
100 pr_debug("can't read '%s'", path); in record_header_files()
105 pr_debug("can't write header_page\n"); in record_header_files()
110 pr_debug("can't record header_page file\n"); in record_header_files()
118 pr_debug("can't get tracing/events/header_event"); in record_header_files()
124 pr_debug("can't read '%s'", path); in record_header_files()
129 pr_debug("can't write header_event\n"); in record_header_files()
134 pr_debug("can't record header_event file\n"); in record_header_files()
[all …]
/tools/perf/arch/powerpc/util/
Dskip-callchain-idx.c56 pr_debug("dwarf_frame_register() %s\n", dwarf_errmsg(-1)); in check_return_reg()
76 pr_debug("dwarf_frame_cfa() returns %d, %s\n", result, in check_return_reg()
106 pr_debug("%s(): no CFI - %s\n", __func__, dwfl_errmsg(-1)); in get_eh_frame()
112 pr_debug("%s(): %s\n", __func__, dwfl_errmsg(-1)); in get_eh_frame()
131 pr_debug("%s(): no CFI - %s\n", __func__, dwfl_errmsg(-1)); in get_dwarf_frame()
137 pr_debug("%s(): %s\n", __func__, dwfl_errmsg(-1)); in get_dwarf_frame()
169 pr_debug("dwfl_begin() failed: %s\n", dwarf_errmsg(-1)); in check_return_addr()
176 pr_debug("dwfl_report_elf() failed %s\n", in check_return_addr()
191 pr_debug("dwfl_addrmodule() failed, %s\n", dwarf_errmsg(-1)); in check_return_addr()
208 pr_debug("Return address register unavailable: %s\n", in check_return_addr()
[all …]
/tools/perf/
Dbuiltin-buildid-cache.c139 pr_debug("same kcore found in %s\n", to_dir); in build_id_cache__add_kcore()
170 pr_debug("kcore added to build-id cache directory %s\n", to_dir); in build_id_cache__add_kcore()
186 pr_debug("Couldn't read a build-id in %s\n", filename); in build_id_cache__add_file()
193 pr_debug("Adding %s %s: %s\n", sbuild_id, filename, in build_id_cache__add_file()
210 pr_debug("Couldn't read a build-id in %s\n", filename); in build_id_cache__remove_file()
216 pr_debug("Removing %s %s: %s\n", sbuild_id, filename, in build_id_cache__remove_file()
234 pr_debug("Removing %s %s: %s\n", pos->s, pathname, in build_id_cache__purge_path()
242 pr_debug("Purging %s: %s\n", pathname, err ? "FAIL" : "Ok"); in build_id_cache__purge_path()
256 pr_debug("Failed to get buildids: -%d\n", errno); in build_id_cache__purge_all()
263 pr_debug("Removing %s (%s): %s\n", buf, pos->s, in build_id_cache__purge_all()
[all …]

12345678