aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/perf/builtin-kmem.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/perf/builtin-kmem.c b/tools/perf/builtin-kmem.c
index 02b76976b288..8c85aeb3327a 100644
--- a/tools/perf/builtin-kmem.c
+++ b/tools/perf/builtin-kmem.c
@@ -275,10 +275,10 @@ static void __print_result(struct rb_root *root, struct perf_session *session,
275 struct rb_node *next; 275 struct rb_node *next;
276 struct machine *machine = &session->machines.host; 276 struct machine *machine = &session->machines.host;
277 277
278 printf("%.102s\n", graph_dotted_line); 278 printf("%.105s\n", graph_dotted_line);
279 printf(" %-34s |", is_caller ? "Callsite": "Alloc Ptr"); 279 printf(" %-34s |", is_caller ? "Callsite": "Alloc Ptr");
280 printf(" Total_alloc/Per | Total_req/Per | Hit | Ping-pong | Frag\n"); 280 printf(" Total_alloc/Per | Total_req/Per | Hit | Ping-pong | Frag\n");
281 printf("%.102s\n", graph_dotted_line); 281 printf("%.105s\n", graph_dotted_line);
282 282
283 next = rb_first(root); 283 next = rb_first(root);
284 284
@@ -304,7 +304,7 @@ static void __print_result(struct rb_root *root, struct perf_session *session,
304 snprintf(buf, sizeof(buf), "%#" PRIx64 "", addr); 304 snprintf(buf, sizeof(buf), "%#" PRIx64 "", addr);
305 printf(" %-34s |", buf); 305 printf(" %-34s |", buf);
306 306
307 printf(" %9llu/%-5lu | %9llu/%-5lu | %8lu | %8lu | %6.3f%%\n", 307 printf(" %9llu/%-5lu | %9llu/%-5lu | %8lu | %9lu | %6.3f%%\n",
308 (unsigned long long)data->bytes_alloc, 308 (unsigned long long)data->bytes_alloc,
309 (unsigned long)data->bytes_alloc / data->hit, 309 (unsigned long)data->bytes_alloc / data->hit,
310 (unsigned long long)data->bytes_req, 310 (unsigned long long)data->bytes_req,
@@ -317,9 +317,9 @@ static void __print_result(struct rb_root *root, struct perf_session *session,
317 } 317 }
318 318
319 if (n_lines == -1) 319 if (n_lines == -1)
320 printf(" ... | ... | ... | ... | ... | ... \n"); 320 printf(" ... | ... | ... | ... | ... | ... \n");
321 321
322 printf("%.102s\n", graph_dotted_line); 322 printf("%.105s\n", graph_dotted_line);
323} 323}
324 324
325static void print_summary(void) 325static void print_summary(void)