diff options
Diffstat (limited to 'tools/perf/builtin-test.c')
-rw-r--r-- | tools/perf/builtin-test.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tools/perf/builtin-test.c b/tools/perf/builtin-test.c index 0e01834a48d0..5dcdba653d70 100644 --- a/tools/perf/builtin-test.c +++ b/tools/perf/builtin-test.c | |||
@@ -146,7 +146,7 @@ next_pair: | |||
146 | if (llabs(skew) < page_size) | 146 | if (llabs(skew) < page_size) |
147 | continue; | 147 | continue; |
148 | 148 | ||
149 | pr_debug("%#Lx: diff end addr for %s v: %#Lx k: %#Lx\n", | 149 | pr_debug("%#" PRIx64 ": diff end addr for %s v: %#" PRIx64 " k: %#" PRIx64 "\n", |
150 | sym->start, sym->name, sym->end, pair->end); | 150 | sym->start, sym->name, sym->end, pair->end); |
151 | } else { | 151 | } else { |
152 | struct rb_node *nnd; | 152 | struct rb_node *nnd; |
@@ -168,11 +168,11 @@ detour: | |||
168 | goto detour; | 168 | goto detour; |
169 | } | 169 | } |
170 | 170 | ||
171 | pr_debug("%#Lx: diff name v: %s k: %s\n", | 171 | pr_debug("%#" PRIx64 ": diff name v: %s k: %s\n", |
172 | sym->start, sym->name, pair->name); | 172 | sym->start, sym->name, pair->name); |
173 | } | 173 | } |
174 | } else | 174 | } else |
175 | pr_debug("%#Lx: %s not on kallsyms\n", sym->start, sym->name); | 175 | pr_debug("%#" PRIx64 ": %s not on kallsyms\n", sym->start, sym->name); |
176 | 176 | ||
177 | err = -1; | 177 | err = -1; |
178 | } | 178 | } |
@@ -211,10 +211,10 @@ detour: | |||
211 | 211 | ||
212 | if (pair->start == pos->start) { | 212 | if (pair->start == pos->start) { |
213 | pair->priv = 1; | 213 | pair->priv = 1; |
214 | pr_info(" %Lx-%Lx %Lx %s in kallsyms as", | 214 | pr_info(" %" PRIx64 "-%" PRIx64 " %" PRIx64 " %s in kallsyms as", |
215 | pos->start, pos->end, pos->pgoff, pos->dso->name); | 215 | pos->start, pos->end, pos->pgoff, pos->dso->name); |
216 | if (pos->pgoff != pair->pgoff || pos->end != pair->end) | 216 | if (pos->pgoff != pair->pgoff || pos->end != pair->end) |
217 | pr_info(": \n*%Lx-%Lx %Lx", | 217 | pr_info(": \n*%" PRIx64 "-%" PRIx64 " %" PRIx64 "", |
218 | pair->start, pair->end, pair->pgoff); | 218 | pair->start, pair->end, pair->pgoff); |
219 | pr_info(" %s\n", pair->dso->name); | 219 | pr_info(" %s\n", pair->dso->name); |
220 | pair->priv = 1; | 220 | pair->priv = 1; |
@@ -307,7 +307,7 @@ static int test__open_syscall_event(void) | |||
307 | } | 307 | } |
308 | 308 | ||
309 | if (evsel->counts->cpu[0].val != nr_open_calls) { | 309 | if (evsel->counts->cpu[0].val != nr_open_calls) { |
310 | pr_debug("perf_evsel__read_on_cpu: expected to intercept %d calls, got %Ld\n", | 310 | pr_debug("perf_evsel__read_on_cpu: expected to intercept %d calls, got %" PRIu64 "\n", |
311 | nr_open_calls, evsel->counts->cpu[0].val); | 311 | nr_open_calls, evsel->counts->cpu[0].val); |
312 | goto out_close_fd; | 312 | goto out_close_fd; |
313 | } | 313 | } |
@@ -421,7 +421,7 @@ static int test__open_syscall_event_on_all_cpus(void) | |||
421 | 421 | ||
422 | expected = nr_open_calls + cpu; | 422 | expected = nr_open_calls + cpu; |
423 | if (evsel->counts->cpu[cpu].val != expected) { | 423 | if (evsel->counts->cpu[cpu].val != expected) { |
424 | pr_debug("perf_evsel__read_on_cpu: expected to intercept %d calls on cpu %d, got %Ld\n", | 424 | pr_debug("perf_evsel__read_on_cpu: expected to intercept %d calls on cpu %d, got %" PRIu64 "\n", |
425 | expected, cpus->map[cpu], evsel->counts->cpu[cpu].val); | 425 | expected, cpus->map[cpu], evsel->counts->cpu[cpu].val); |
426 | goto out_close_fd; | 426 | goto out_close_fd; |
427 | } | 427 | } |