@@ -438,41 +438,6 @@ bool cancel_timer(long handle, int cpu_id)
438
438
return ret ;
439
439
}
440
440
441
- void dump_timer_pool_info (int cpu_id )
442
- {
443
- struct per_cpu_timers * cpu_timer =
444
- & per_cpu (cpu_timers , cpu_id );
445
- struct list_head * pos ;
446
- int cn = 0 ;
447
-
448
- if (cpu_id >= phy_cpu_num )
449
- return ;
450
-
451
- pr_info ("Timer%d statistics: Pending: %d\n\t"
452
- "total_pickup: %lld total_added: %lld total_irq: %lld" ,
453
- cpu_id ,
454
- cpu_timer -> stat .pending_cnt ,
455
- cpu_timer -> stat .total_pickup_cnt ,
456
- cpu_timer -> stat .total_added_cnt ,
457
- cpu_timer -> stat .irq_cnt );
458
-
459
- pr_info ("LAST pickup[%d] time: 0x%llx deadline: 0x%llx" ,
460
- cpu_timer -> stat .last .pickup_id ,
461
- cpu_timer -> stat .last .pickup_time ,
462
- cpu_timer -> stat .last .pickup_deadline );
463
-
464
- pr_info ("LAST added[%d] time: 0x%llx deadline: 0x%llx" ,
465
- cpu_timer -> stat .last .added_id ,
466
- cpu_timer -> stat .last .added_time ,
467
- cpu_timer -> stat .last .added_deadline );
468
-
469
- list_for_each (pos , & cpu_timer -> timer_list ) {
470
- cn ++ ;
471
- pr_info ("-->pending: %d trigger: 0x%llx" , cn ,
472
- list_entry (pos , struct timer , node )-> deadline );
473
- }
474
- }
475
-
476
441
void check_tsc (void )
477
442
{
478
443
uint64_t temp64 ;
0 commit comments