Home
last modified time | relevance | path

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

123456789

/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-test.c195 pr_debug(" %02x", bytes[i]); in dump_packet()
197 pr_debug(" "); in dump_packet()
198 pr_debug(" "); in dump_packet()
201 pr_debug("intel_pt_pkt_desc failed!\n"); in dump_packet()
204 pr_debug("%s\n", desc); in dump_packet()
211 pr_debug("Decoding failed!\n"); in decoding_failed()
212 pr_debug("Decoding: "); in decoding_failed()
222 pr_debug("Expected length: %d Decoded length %d\n", in fail()
226 pr_debug("Expected type: %d Decoded type %d\n", in fail()
230 pr_debug("Expected count: %d Decoded count %d\n", in fail()
[all …]
Dinsn-x86.c68 pr_debug("Failed to get op\n"); in get_op()
95 pr_debug("Failed to get branch\n"); in get_branch()
109 pr_debug("Failed to decode: %s\n", dat->asm_rep); in test_data_item()
114 pr_debug("Failed to decode length (%d vs expected %d): %s\n", in test_data_item()
123 pr_debug("Intel PT failed to decode: %s\n", dat->asm_rep); in test_data_item()
128 pr_debug("Failed to decode 'op' value (%d vs expected %d): %s\n", in test_data_item()
134 pr_debug("Failed to decode 'branch' value (%d vs expected %d): %s\n", in test_data_item()
140 pr_debug("Failed to decode 'rel' value (%#x vs expected %#x): %s\n", in test_data_item()
145 pr_debug("Decoded ok: %s\n", dat->asm_rep); in test_data_item()
Dsample-parsing.c21 pr_debug("Samples differ at '"#m"'\n"); \
63 pr_debug("malloc failed\n"); in do_test()
74 pr_debug("%s failed for sample_type %#"PRIx64", error %d\n", in do_test()
85 pr_debug("Event size mismatch: actual %zu vs expected %zu\n", in do_test()
94 pr_debug("%s failed for sample_type %#"PRIx64", error %d\n", in do_test()
100 pr_debug("parsing failed for sample_type %#"PRIx64"\n", in do_test()
Dintel-cqm.c55 pr_debug("evlist__new failed\n"); in test__intel_cqm_count_nmi_context()
61 pr_debug("parse_events failed, is \"intel_cqm/llc_occupancy/\" available?\n"); in test__intel_cqm_count_nmi_context()
68 pr_debug("evlist__first failed\n"); in test__intel_cqm_count_nmi_context()
86 pr_debug("failed to open event\n"); in test__intel_cqm_count_nmi_context()
98 pr_debug("failed to open event\n"); in test__intel_cqm_count_nmi_context()
110 pr_debug("failed to mmap %d\n", errno); in test__intel_cqm_count_nmi_context()
/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()
242 pr_debug("Reading object code for memory address: %#"PRIx64"\n", addr); in read_object_code()
247 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 …]
Dswitch-tracking.c82 pr_debug("Duplicate comm event\n"); in check_comm()
135 pr_debug("evlist__parse_sample failed\n"); in process_sample_event()
155 pr_debug("Missing sched_switch events\n"); in process_sample_event()
201 pr_debug("Unexpected comm event\n"); in process_event()
223 pr_debug("malloc failed\n"); in add_event()
230 pr_debug("evlist__parse_sample failed\n"); in add_event()
235 pr_debug("event with no time\n"); in add_event()
291 pr_debug("calloc failed\n"); in process_events()
311 pr_debug("%u events recorded\n", cnt); in process_events()
350 pr_debug("thread_map__new failed!\n"); in test__switch_tracking()
[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 …]
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 …]
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 …]
Dbp_signal.c128 pr_debug("failed opening event %llx\n", pe.config); in __event()
158 pr_debug("failed to read: %d\n", ret); in bp_count()
171 pr_debug("Test not supported on this architecture"); in test__bp_signal()
181 pr_debug("failed setting up signal handler\n"); in test__bp_signal()
187 pr_debug("failed setting up signal handler 2\n"); in test__bp_signal()
268 pr_debug("count1 %lld, count2 %lld, count3 %lld, overflow %d, overflows_2 %d\n", in test__bp_signal()
273 pr_debug("failed: RF EFLAG recursion issue detected\n"); in test__bp_signal()
275 pr_debug("failed: wrong count for bp1: %lld, expected 1\n", count1); in test__bp_signal()
279 pr_debug("failed: wrong overflow (%d) hit, expected 3\n", overflows); in test__bp_signal()
282 pr_debug("failed: wrong overflow_2 (%d) hit, expected 3\n", overflows_2); in test__bp_signal()
[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()
Dopenat-syscall-tp-fields.c47 pr_debug("%s: evlist__new\n", __func__); in test__syscall_openat_tp_fields()
53 pr_debug("%s: evsel__newtp\n", __func__); in test__syscall_openat_tp_fields()
61 pr_debug("%s: evlist__create_maps\n", __func__); in test__syscall_openat_tp_fields()
71 pr_debug("perf_evlist__open: %s\n", in test__syscall_openat_tp_fields()
78 pr_debug("evlist__mmap: %s\n", in test__syscall_openat_tp_fields()
115 pr_debug("Can't parse sample, err = %d\n", err); in test__syscall_openat_tp_fields()
122 pr_debug("%s: Expected flags=%#x, got %#x\n", in test__syscall_openat_tp_fields()
136 pr_debug("%s: no events!\n", __func__); in test__syscall_openat_tp_fields()
Dopenat-syscall-all-cpus.c36 pr_debug("thread_map__new\n"); in test__openat_syscall_event_on_all_cpus()
42 pr_debug("perf_cpu_map__new\n"); in test__openat_syscall_event_on_all_cpus()
51 pr_debug("%s\n", errbuf); in test__openat_syscall_event_on_all_cpus()
57 pr_debug("failed to open counter: %s, " in test__openat_syscall_event_on_all_cpus()
73 pr_debug("Ignoring CPU %d\n", cpu.cpu); in test__openat_syscall_event_on_all_cpus()
79 pr_debug("sched_setaffinity() failed on CPU %d: %s ", in test__openat_syscall_event_on_all_cpus()
102 pr_debug("evsel__read_on_cpu\n"); in test__openat_syscall_event_on_all_cpus()
109 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()
Dbp_signal_overflow.c53 pr_debug("failed to read: %d\n", ret); in bp_count()
71 pr_debug("Test not supported on this architecture"); in test__bp_signal_overflow()
81 pr_debug("failed setting up signal handler\n"); in test__bp_signal_overflow()
105 pr_debug("failed opening event %llx\n", pe.config); in test__bp_signal_overflow()
125 pr_debug("count %lld, overflow %d\n", in test__bp_signal_overflow()
129 pr_debug("\tWrong number of executions %lld != %d\n", in test__bp_signal_overflow()
135 pr_debug("\tWrong number of overflows %d != %d\n", in test__bp_signal_overflow()
Dtask-exit.c63 pr_debug("evlist__new_dummy\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()
Dsw-clock.c54 pr_debug("evlist__new\n"); in __test__sw_clock_freq()
60 pr_debug("evsel__new\n"); in __test__sw_clock_freq()
69 pr_debug("Not enough memory to create thread/cpu maps\n"); in __test__sw_clock_freq()
79 pr_debug("Couldn't open evlist: %s\nHint: check %s, using %" PRIu64 " in this test.\n", in __test__sw_clock_freq()
87 pr_debug("failed to mmap event: %d (%s)\n", errno, in __test__sw_clock_freq()
112 pr_debug("Error during parse sample\n"); in __test__sw_clock_freq()
125 pr_debug("All (%d) samples have period value of 1!\n", in __test__sw_clock_freq()
Devsel-roundtrip-name.c26 pr_debug("Failed to alloc evlist"); in perf_evsel__roundtrip_cache_name_test()
34 pr_debug("Failure to parse cache event '%s' possibly as PMUs don't support it", in perf_evsel__roundtrip_cache_name_test()
41 pr_debug("%s != %s\n", evsel__name(evsel), name); in perf_evsel__roundtrip_cache_name_test()
62 pr_debug("Failed to alloc evlist"); in perf_evsel__name_array_test()
67 pr_debug("failed to parse event '%s', err %d\n", in perf_evsel__name_array_test()
75 pr_debug("%s != %s\n", evsel__name(evsel), names[i]); in perf_evsel__name_array_test()
Dopenat-syscall.c28 pr_debug("thread_map__new\n"); in test__openat_syscall_event()
35 pr_debug("%s\n", errbuf); in test__openat_syscall_event()
41 pr_debug("failed to open counter: %s, " in test__openat_syscall_event()
54 pr_debug("evsel__read_on_cpu\n"); in test__openat_syscall_event()
59 pr_debug("evsel__read_on_cpu: expected to intercept %d calls, got %" PRIu64 "\n", in test__openat_syscall_event()
Devsel-tp-sched.c15 pr_debug("%s: \"%s\" field not found!\n", evsel->name, name); in evsel__test_field()
21 pr_debug("%s: \"%s\" signedness(%d) is wrong, should be %d\n", in evsel__test_field()
27 pr_debug("%s: \"%s\" size (%d) should be %d!\n", in evsel__test_field()
42 pr_debug("evsel__newtp failed with %ld\n", PTR_ERR(evsel)); in test__perf_evsel__tp_sched_test()
72 pr_debug("evsel__newtp failed with %ld\n", PTR_ERR(evsel)); in test__perf_evsel__tp_sched_test()
/tools/testing/selftests/kvm/include/s390x/
Ddebug_print.h22 pr_debug("%s (%p)\n", name, (void *)addr); in print_hex_bytes()
23 pr_debug(" 0/0x00---------|"); in print_hex_bytes()
25 pr_debug(" 8/0x08---------|"); in print_hex_bytes()
27 pr_debug(" 16/0x10--------|"); in print_hex_bytes()
29 pr_debug(" 24/0x18--------|"); in print_hex_bytes()
32 pr_debug("\n %3lu 0x%.3lx ", pos, pos); in print_hex_bytes()
33 pr_debug(" %16lx", *((u64 *)(addr + pos))); in print_hex_bytes()
35 pr_debug("\n"); in print_hex_bytes()
45 pr_debug("flags:0x%x psw:0x%.16llx:0x%.16llx exit:%u %s\n", in print_psw()
49 pr_debug("sie_block psw:0x%.16llx:0x%.16llx\n", in print_psw()
/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/util/
Dtrace-event-read.c42 pr_debug("repiping input file"); in __do_read()
60 pr_debug("reading input file (size expected=%d received=%d)", in do_read()
112 pr_debug("reading input file"); in read_string()
117 pr_debug("no data"); in read_string()
125 pr_debug("repiping input file string"); in read_string()
206 pr_debug("did not read header page"); in read_header_files()
217 pr_debug("did not read header page"); in read_header_files()
236 pr_debug("did not read header event"); in read_header_files()
253 pr_debug("memory allocation failure\n"); in read_ftrace_file()
259 pr_debug("error reading ftrace file.\n"); in read_ftrace_file()
[all …]

123456789