• Home
  • Raw
  • Download

Lines Matching refs:itr

2197 	struct idle_thread_runtime *itr;  in init_idle_thread()  local
2201 itr = zalloc(sizeof(*itr)); in init_idle_thread()
2202 if (itr == NULL) in init_idle_thread()
2205 init_stats(&itr->tr.run_stats); in init_idle_thread()
2206 callchain_init(&itr->callchain); in init_idle_thread()
2207 callchain_cursor_reset(&itr->cursor); in init_idle_thread()
2208 thread__set_priv(thread, itr); in init_idle_thread()
2291 struct idle_thread_runtime *itr, in save_idle_callchain() argument
2297 callchain_cursor__copy(&itr->cursor, &callchain_cursor); in save_idle_callchain()
2324 struct idle_thread_runtime *itr; in timehist_get_thread() local
2332 itr = thread__priv(idle); in timehist_get_thread()
2333 if (itr == NULL) in timehist_get_thread()
2336 itr->last_thread = thread; in timehist_get_thread()
2340 save_idle_callchain(sched, itr, sample); in timehist_get_thread()
2594 struct idle_thread_runtime *itr = (void *)tr; in timehist_sched_change_event() local
2599 if (itr->last_thread == NULL) in timehist_sched_change_event()
2603 last_tr = thread__get_runtime(itr->last_thread); in timehist_sched_change_event()
2619 if (itr->cursor.nr) in timehist_sched_change_event()
2620 callchain_append(&itr->callchain, &itr->cursor, t - tprev); in timehist_sched_change_event()
2622 itr->last_thread = NULL; in timehist_sched_change_event()
2889 struct idle_thread_runtime *itr; in timehist_print_summary() local
2895 itr = thread__priv(t); in timehist_print_summary()
2896 if (itr == NULL) in timehist_print_summary()
2899 callchain_param.sort(&itr->sorted_root.rb_root, &itr->callchain, in timehist_print_summary()
2903 print_sched_time(itr->tr.total_run_time, 6); in timehist_print_summary()
2905 timehist_print_idlehist_callchain(&itr->sorted_root); in timehist_print_summary()