Lines Matching refs:BUG_ON
367 BUG_ON(!task->atoms); in get_new_event()
451 BUG_ON((sched->pid_to_task = calloc(pid_max, sizeof(struct task_desc *))) == NULL); in register_pid()
454 BUG_ON((sched->pid_to_task = realloc(sched->pid_to_task, (pid + 1) * in register_pid()
478 BUG_ON(!sched->tasks); in register_pid()
527 BUG_ON(ret); in perf_sched__process_event()
532 BUG_ON(ret); in perf_sched__process_event()
537 BUG_ON(1); in perf_sched__process_event()
548 BUG_ON(err); in get_cpu_usage_nsec_parent()
576 BUG_ON(getrlimit(RLIMIT_NOFILE, &limit) == -1); in self_open_counters()
604 BUG_ON(ret != sizeof(runtime)); in get_cpu_usage_nsec_self()
633 BUG_ON(ret); in thread_func()
635 BUG_ON(ret); in thread_func()
637 BUG_ON(ret); in thread_func()
649 BUG_ON(ret); in thread_func()
652 BUG_ON(ret); in thread_func()
654 BUG_ON(ret); in thread_func()
667 BUG_ON(err); in create_tasks()
670 BUG_ON(err); in create_tasks()
672 BUG_ON(err); in create_tasks()
674 BUG_ON(err); in create_tasks()
677 BUG_ON(parms == NULL); in create_tasks()
686 BUG_ON(err); in create_tasks()
703 BUG_ON(ret); in wait_for_tasks()
707 BUG_ON(ret); in wait_for_tasks()
716 BUG_ON(ret); in wait_for_tasks()
734 BUG_ON(ret); in wait_for_tasks()
948 BUG_ON(list_empty(list)); in thread_lat_cmp()
978 BUG_ON(thread != atoms->thread); in thread_atoms_search()
1062 BUG_ON(list_empty(&atoms->work_list)); in add_runtime_event()
1115 BUG_ON(cpu >= MAX_CPUS || cpu < 0); in latency_switch_event()
1186 BUG_ON(cpu >= MAX_CPUS || cpu < 0); in latency_runtime_event()
1234 BUG_ON(list_empty(&atoms->work_list)); in latency_wakeup_event()
1302 BUG_ON(list_empty(&atoms->work_list)); in latency_migrate_task_event()
1538 BUG_ON(this_cpu >= MAX_CPUS || this_cpu < 0); in map_switch_event()
2580 BUG_ON(thread->tid != 0); in timehist_sched_change_event()
3340 BUG_ON(i != rec_argc); in __cmd_record()