@@ -62,9 +62,9 @@ struct timerlat_hist_cpu {
62
62
int * thread ;
63
63
int * user ;
64
64
65
- int irq_count ;
66
- int thread_count ;
67
- int user_count ;
65
+ unsigned long long irq_count ;
66
+ unsigned long long thread_count ;
67
+ unsigned long long user_count ;
68
68
69
69
unsigned long long min_irq ;
70
70
unsigned long long sum_irq ;
@@ -304,15 +304,15 @@ timerlat_print_summary(struct timerlat_hist_params *params,
304
304
continue ;
305
305
306
306
if (!params -> no_irq )
307
- trace_seq_printf (trace -> seq , "%9d " ,
307
+ trace_seq_printf (trace -> seq , "%9llu " ,
308
308
data -> hist [cpu ].irq_count );
309
309
310
310
if (!params -> no_thread )
311
- trace_seq_printf (trace -> seq , "%9d " ,
311
+ trace_seq_printf (trace -> seq , "%9llu " ,
312
312
data -> hist [cpu ].thread_count );
313
313
314
314
if (params -> user_hist )
315
- trace_seq_printf (trace -> seq , "%9d " ,
315
+ trace_seq_printf (trace -> seq , "%9llu " ,
316
316
data -> hist [cpu ].user_count );
317
317
}
318
318
trace_seq_printf (trace -> seq , "\n" );
@@ -488,15 +488,15 @@ timerlat_print_stats_all(struct timerlat_hist_params *params,
488
488
trace_seq_printf (trace -> seq , "count:" );
489
489
490
490
if (!params -> no_irq )
491
- trace_seq_printf (trace -> seq , "%9d " ,
491
+ trace_seq_printf (trace -> seq , "%9llu " ,
492
492
sum .irq_count );
493
493
494
494
if (!params -> no_thread )
495
- trace_seq_printf (trace -> seq , "%9d " ,
495
+ trace_seq_printf (trace -> seq , "%9llu " ,
496
496
sum .thread_count );
497
497
498
498
if (params -> user_hist )
499
- trace_seq_printf (trace -> seq , "%9d " ,
499
+ trace_seq_printf (trace -> seq , "%9llu " ,
500
500
sum .user_count );
501
501
502
502
trace_seq_printf (trace -> seq , "\n" );
0 commit comments