Home
last modified time | relevance | path

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

12

/external/linux-tools-perf/src/tools/perf/tests/
Dperf-record.c64 pr_debug("Not enough memory to create evlist\n"); in test__PERF_RECORD()
74 pr_debug("Not enough memory to create evsel\n"); in test__PERF_RECORD()
86 pr_debug("Not enough memory to create thread/cpu maps\n"); in test__PERF_RECORD()
99 pr_debug("Couldn't run the workload!\n"); in test__PERF_RECORD()
114 pr_debug("sched__get_first_possible_cpu: %s\n", strerror(errno)); in test__PERF_RECORD()
124 pr_debug("sched_setaffinity: %s\n", strerror(errno)); in test__PERF_RECORD()
134 pr_debug("perf_evlist__open: %s\n", strerror(errno)); in test__PERF_RECORD()
145 pr_debug("perf_evlist__mmap: %s\n", strerror(errno)); in test__PERF_RECORD()
178 pr_debug("Couldn't parse sample\n"); in test__PERF_RECORD()
188 pr_debug("%s going backwards in time, prev=%" PRIu64 ", curr=%" PRIu64 "\n", in test__PERF_RECORD()
[all …]
Dcode-reading.c87 pr_debug("getline failed\n"); in read_objdump_output()
113 pr_debug("Objdump command is: %s\n", cmd); in read_via_objdump()
120 pr_debug("popen failed\n"); in read_via_objdump()
126 pr_debug("objdump read too few bytes\n"); in read_via_objdump()
147 pr_debug("Reading object code for memory address: %#"PRIx64"\n", addr); in read_object_code()
152 pr_debug("thread__find_addr_map failed\n"); in read_object_code()
156 pr_debug("File is: %s\n", al.map->dso->long_name); in read_object_code()
160 pr_debug("Unexpected kernel address - skipping\n"); in read_object_code()
164 pr_debug("On file address is: %#"PRIx64"\n", al.addr); in read_object_code()
177 pr_debug("dso__data_read_offset failed\n"); in read_object_code()
[all …]
Dopen-syscall-all-cpus.c17 pr_debug("thread_map__new\n"); in test__open_syscall_event_on_all_cpus()
23 pr_debug("cpu_map__new\n"); in test__open_syscall_event_on_all_cpus()
31 pr_debug("is debugfs mounted on /sys/kernel/debug?\n"); in test__open_syscall_event_on_all_cpus()
36 pr_debug("failed to open counter: %s, " in test__open_syscall_event_on_all_cpus()
51 pr_debug("Ignoring CPU %d\n", cpus->map[cpu]); in test__open_syscall_event_on_all_cpus()
57 pr_debug("sched_setaffinity() failed on CPU %d: %s ", in test__open_syscall_event_on_all_cpus()
75 pr_debug("perf_evsel__alloc_counts(ncpus=%d)\n", cpus->nr); in test__open_syscall_event_on_all_cpus()
88 pr_debug("perf_evsel__read_on_cpu\n"); in test__open_syscall_event_on_all_cpus()
95 pr_debug("perf_evsel__read_on_cpu: expected to intercept %d calls on cpu %d, got %" PRIu64 "\n", in test__open_syscall_event_on_all_cpus()
Dmmap-basic.c37 pr_debug("thread_map__new\n"); in test__basic_mmap()
43 pr_debug("cpu_map__new\n"); in test__basic_mmap()
51 pr_debug("sched_setaffinity() failed on CPU %d: %s ", in test__basic_mmap()
58 pr_debug("perf_evlist__new\n"); in test__basic_mmap()
70 pr_debug("perf_evsel__new\n"); in test__basic_mmap()
80 pr_debug("failed to open counter: %s, " in test__basic_mmap()
91 pr_debug("failed to mmap events: %d (%s)\n", errno, in test__basic_mmap()
106 pr_debug("unexpected %s event\n", in test__basic_mmap()
120 pr_debug("event with id %" PRIu64 in test__basic_mmap()
131 pr_debug("expected %d %s events, got %d\n", in test__basic_mmap()
Dbp_signal.c83 pr_debug("failed opening event %llx\n", pe.config); in bp_event()
105 pr_debug("failed to read: %d\n", ret); in bp_count()
123 pr_debug("failed setting up signal handler\n"); in test__bp_signal()
174 pr_debug("count1 %lld, count2 %lld, overflow %d\n", in test__bp_signal()
179 pr_debug("failed: RF EFLAG recursion issue detected\n"); in test__bp_signal()
181 pr_debug("failed: wrong count for bp1%lld\n", count1); in test__bp_signal()
185 pr_debug("failed: wrong overflow hit\n"); in test__bp_signal()
188 pr_debug("failed: wrong count for bp2\n"); in test__bp_signal()
Dtask-exit.c42 pr_debug("perf_evlist__new\n"); in test__task_exit()
51 pr_debug("Not enough memory to create evsel\n"); in test__task_exit()
65 pr_debug("Not enough memory to create thread/cpu maps\n"); in test__task_exit()
71 pr_debug("Couldn't run the workload!\n"); in test__task_exit()
85 pr_debug("Couldn't open the evlist: %s\n", strerror(-err)); in test__task_exit()
90 pr_debug("failed to mmap events: %d (%s)\n", errno, in test__task_exit()
111 pr_debug("received %d EXIT records\n", nr_exit); in test__task_exit()
Dopen-syscall-tp-fields.c26 pr_debug("%s: perf_evlist__new\n", __func__); in test__syscall_open_tp_fields()
32 pr_debug("%s: perf_evsel__newtp\n", __func__); in test__syscall_open_tp_fields()
40 pr_debug("%s: perf_evlist__create_maps\n", __func__); in test__syscall_open_tp_fields()
50 pr_debug("perf_evlist__open: %s\n", strerror(errno)); in test__syscall_open_tp_fields()
56 pr_debug("perf_evlist__mmap: %s\n", strerror(errno)); in test__syscall_open_tp_fields()
94 pr_debug("%s: Expected flags=%#x, got %#x\n", in test__syscall_open_tp_fields()
107 pr_debug("%s: no events!\n", __func__); in test__syscall_open_tp_fields()
Dsample-parsing.c12 pr_debug("Samples differ at '"#m"'\n"); \
19 pr_debug("Samples differ at '"#m"'\n"); \
86 pr_debug("Samples differ at 'raw_data'\n"); in samples_same()
104 pr_debug("Samples differ at 'user_regs'\n"); in samples_same()
113 pr_debug("Samples differ at 'user_stack'\n"); in samples_same()
205 pr_debug("malloc failed\n"); in do_test()
218 pr_debug("%s failed for sample_type %#"PRIx64", error %d\n", in do_test()
229 pr_debug("Event size mismatch: actual %zu vs expected %zu\n", in do_test()
238 pr_debug("%s failed for sample_type %#"PRIx64", error %d\n", in do_test()
245 pr_debug("parsing failed for sample_type %#"PRIx64"\n", in do_test()
[all …]
Dopen-syscall.c14 pr_debug("thread_map__new\n"); in test__open_syscall_event()
20 pr_debug("is debugfs mounted on /sys/kernel/debug?\n"); in test__open_syscall_event()
25 pr_debug("failed to open counter: %s, " in test__open_syscall_event()
37 pr_debug("perf_evsel__read_on_cpu\n"); in test__open_syscall_event()
42 pr_debug("perf_evsel__read_on_cpu: expected to intercept %d calls, got %" PRIu64 "\n", in test__open_syscall_event()
Dsw-clock.c41 pr_debug("perf_evlist__new\n"); in __test__sw_clock_freq()
47 pr_debug("perf_evsel__new\n"); in __test__sw_clock_freq()
56 pr_debug("Not enough memory to create thread/cpu maps\n"); in __test__sw_clock_freq()
64 pr_debug("failed to mmap event: %d (%s)\n", errno, in __test__sw_clock_freq()
85 pr_debug("Error during parse sample\n"); in __test__sw_clock_freq()
96 pr_debug("All (%d) samples have period value of 1!\n", in __test__sw_clock_freq()
Dbp_signal_overflow.c50 pr_debug("failed to read: %d\n", ret); in bp_count()
73 pr_debug("failed setting up signal handler\n"); in test__bp_signal_overflow()
96 pr_debug("failed opening event %llx\n", pe.config); in test__bp_signal_overflow()
116 pr_debug("count %lld, overflow %d\n", in test__bp_signal_overflow()
120 pr_debug("\tWrong number of executions %lld != %d\n", in test__bp_signal_overflow()
126 pr_debug("\tWrong number of overflows %d != %d\n", in test__bp_signal_overflow()
Dvmlinux-kallsyms.c49 pr_debug("machine__create_kernel_maps "); in test__vmlinux_matches_kallsyms()
59 pr_debug("dso__load_kallsyms "); in test__vmlinux_matches_kallsyms()
75 pr_debug("dso__find_symbol_by_name "); in test__vmlinux_matches_kallsyms()
87 pr_debug("machine__create_kernel_maps "); in test__vmlinux_matches_kallsyms()
107pr_debug("Couldn't find a vmlinux that matches the kernel running on this machine, skipping test\n… in test__vmlinux_matches_kallsyms()
150 pr_debug("%#" PRIx64 ": diff end addr for %s v: %#" PRIx64 " k: %#" PRIx64 "\n", in test__vmlinux_matches_kallsyms()
182 pr_debug("%#" PRIx64 ": diff name v: %s k: %s\n", in test__vmlinux_matches_kallsyms()
186 pr_debug("%#" PRIx64 ": %s not on kallsyms\n", in test__vmlinux_matches_kallsyms()
Devsel-tp-sched.c13 pr_debug("%s: \"%s\" field not found!\n", evsel->name, name); in perf_evsel__test_field()
19 pr_debug("%s: \"%s\" signedness(%d) is wrong, should be %d\n", in perf_evsel__test_field()
25 pr_debug("%s: \"%s\" size (%d) should be %d!\n", in perf_evsel__test_field()
39 pr_debug("perf_evsel__new\n"); in test__perf_evsel__tp_sched_test()
Dhists_link.c84 pr_debug("Not enough memory for machine setup\n"); in setup_fake_machine()
144 pr_debug("Not enough memory for machine setup\n"); in setup_fake_machine()
261 pr_debug("Not enough memory for adding a hist entry\n"); in add_hist_entries()
303 pr_debug("Can't find the matched entry\n"); in __validate_match()
312 pr_debug("Invalid count for matched entries: %zd of %zd\n", in __validate_match()
360 pr_debug("A entry from the other hists should have pair\n"); in __validate_link()
373 pr_debug("Invalid count of dummy entries: %zd of %zd\n", in __validate_link()
378 pr_debug("Invalid count of total leader entries: %zd of %zd\n", in __validate_link()
384 pr_debug("Invalid count of total other entries: %zd of %zd\n", in __validate_link()
389 pr_debug("Other hists should not have dummy entries: %zd\n", in __validate_link()
Dperf-time-to-tsc.c18 pr_debug(#x " failed!\n"); \
25 pr_debug(#x " failed!\n"); \
149 pr_debug("1st event perf time %"PRIu64" tsc %"PRIu64"\n", in test__perf_time_to_tsc()
151 pr_debug("rdtsc time %"PRIu64" tsc %"PRIu64"\n", in test__perf_time_to_tsc()
153 pr_debug("2nd event perf time %"PRIu64" tsc %"PRIu64"\n", in test__perf_time_to_tsc()
Dkeep-tracking.c14 pr_debug(#x " failed!\n"); \
21 pr_debug(#x " failed!\n"); \
114 pr_debug("First time, failed to find tracking event.\n"); in test__keep_tracking()
136 pr_debug("Seconf time, failed to find tracking event.\n"); in test__keep_tracking()
Devsel-roundtrip-name.c50 pr_debug("%s != %s\n", perf_evsel__name(evsel), name); in perf_evsel__roundtrip_cache_name_test()
75 pr_debug("failed to parse event '%s', err %d\n", in __perf_evsel__name_array_test()
85 pr_debug("%s != %s\n", perf_evsel__name(evsel), names[evsel->idx]); in __perf_evsel__name_array_test()
Dparse-no-sample-id-all.c17 pr_debug("perf_event__process_attr failed\n"); in process_event()
30 pr_debug("perf_evlist__parse_sample failed\n"); in process_event()
/external/linux-tools-perf/src/tools/perf/util/
Dtrace-event-info.c69 pr_debug("Can't read '%s'", file); in record_file()
94 pr_debug("writing file size failed\n"); in record_file()
112 pr_debug("can't get tracing/events/header_page"); in record_header_files()
117 pr_debug("can't read '%s'", path); in record_header_files()
122 pr_debug("can't write header_page\n"); in record_header_files()
127 pr_debug("can't record header_page file\n"); in record_header_files()
135 pr_debug("can't get tracing/events/header_event"); in record_header_files()
141 pr_debug("can't read '%s'", path); in record_header_files()
146 pr_debug("can't write header_event\n"); in record_header_files()
151 pr_debug("can't record header_event file\n"); in record_header_files()
[all …]
Dtrace-event-read.c59 pr_debug("repiping input file"); in __do_read()
77 pr_debug("reading input file (size expected=%d received=%d)", in do_read()
129 pr_debug("reading input file"); in read_string()
134 pr_debug("no data"); in read_string()
142 pr_debug("repiping input file string"); in read_string()
223 pr_debug("did not read header page"); in read_header_files()
234 pr_debug("did not read header page"); in read_header_files()
253 pr_debug("did not read header event"); in read_header_files()
370 pr_debug("no trace data in the file"); in trace_report()
377 pr_debug("not a trace file (missing 'tracing' tag)"); in trace_report()
[all …]
Dprobe-event.c87 pr_debug("Use vmlinux: %s\n", symbol_conf.vmlinux_name); in init_vmlinux()
90 pr_debug("Failed to init symbol map.\n"); in init_vmlinux()
99 pr_debug("machine__create_kernel_maps() failed.\n"); in init_vmlinux()
149 pr_debug("Failed to find module %s.\n", module); in kernel_get_module_dso()
162 pr_debug("Failed to load kernel map.\n"); in kernel_get_module_dso()
185 pr_debug("Failed to init symbol map.\n"); in init_user_exec()
241 pr_debug("try to find %s+%ld@%" PRIx64 "\n", tp->symbol, in kprobe_convert_to_perf_probe()
250 pr_debug("Failed to open debuginfo at 0x%" PRIx64 "\n", in kprobe_convert_to_perf_probe()
256 pr_debug("Failed to find corresponding probes from " in kprobe_convert_to_perf_probe()
325 pr_debug("Could not open debuginfo. Try to use symbols.\n"); in try_to_find_probe_trace_events()
[all …]
Dunwind.c292 pr_debug("unwind: find_proc_info dso %s\n", map->dso->name); in find_proc_info()
354 pr_debug("unwind: no map for %lx\n", (unsigned long)addr); in access_dso_mem()
414 pr_debug("unwind: access_mem %p not inside range %p-%p\n", in access_mem()
424 pr_debug("unwind: access_mem addr %p, val %lx, offset %d\n", in access_mem()
457 pr_debug("unwind: reg %d, val %lx\n", regnum, (unsigned long)*valp); in access_reg()
465 pr_debug("unwind: put_unwind_info called\n"); in put_unwind_info()
482 pr_debug("unwind: %s:ip = 0x%" PRIx64 " (0x%" PRIx64 ")\n", in entry()
Dprobe-finder.c64 pr_debug("line list: add a line %u\n", line); in line_list__add_line()
197 pr_debug("Failed to find kernel dwarf at %lx\n", in debuginfo__init_online_kernel_dwarf()
324 pr_debug("DW_OP %x is not supported.\n", op->atom); in convert_variable_location()
388 pr_debug("%s type is %s.\n", in convert_variable_type()
465 pr_debug("converting %s in %s\n", field->name, varname); in convert_variable_fields()
584 pr_debug("Converting variable %s into trace event.\n", in convert_variable()
646 pr_debug("Searching '%s' variable in context.\n", pf->pvar->var); in find_variable()
883 pr_debug("No matched lines found in %s.\n", fname); in find_lazy_match_lines()
898 pr_debug("Probe line found: line:%d addr:0x%llx\n", in probe_point_lazy_walker()
951 pr_debug("found inline addr: 0x%jx\n", in probe_point_inline_cb()
[all …]
Dheader.c287 pr_debug("Not caching a kptr_restrict'ed /proc/kallsyms\n"); in build_id_cache__add_s()
482 pr_debug("failed to write buildid table\n"); in write_build_id()
1554 pr_debug("build id event received for %s: %s\n", in __event_process_build_id()
1671 pr_debug("Failed to read buildids, continuing...\n"); in process_build_id()
1990 pr_debug("pmu mappings not available\n"); in process_pmu_mappings()
2044 pr_debug("group desc not available\n"); in process_group_desc()
2085 pr_debug("invalid group desc\n"); in process_group_desc()
2101 pr_debug("invalid group desc\n"); in process_group_desc()
2168 pr_debug("Failed to lseek to %" PRIu64 " offset for feature " in perf_file_section__fprintf_info()
2216 pr_debug("failed to write feature %d\n", type); in do_write_feat()
[all …]
/external/linux-tools-perf/src/tools/perf/
Dbuiltin-buildid-cache.c27 pr_debug("Couldn't read a build-id in %s\n", filename); in build_id_cache__add_file()
49 pr_debug("Couldn't read a build-id in %s\n", filename); in build_id_cache__remove_file()
105 pr_debug("Couldn't read a build-id in %s\n", filename); in build_id_cache__update_file()
169 pr_debug("%s already in the cache\n", in cmd_buildid_cache()
187 pr_debug("%s wasn't in the cache\n", in cmd_buildid_cache()
208 pr_debug("%s wasn't in the cache\n", in cmd_buildid_cache()

12