Lines Matching refs:BUG_ON

254 	BUG_ON(!task->atoms);  in get_new_event()
338 BUG_ON((sched->pid_to_task = calloc(pid_max, sizeof(struct task_desc *))) == NULL); in register_pid()
341 BUG_ON((sched->pid_to_task = realloc(sched->pid_to_task, (pid + 1) * in register_pid()
365 BUG_ON(!sched->tasks); in register_pid()
414 BUG_ON(ret); in perf_sched__process_event()
419 BUG_ON(ret); in perf_sched__process_event()
424 BUG_ON(1); in perf_sched__process_event()
435 BUG_ON(err); in get_cpu_usage_nsec_parent()
463 BUG_ON(getrlimit(RLIMIT_NOFILE, &limit) == -1); in self_open_counters()
491 BUG_ON(ret != sizeof(runtime)); in get_cpu_usage_nsec_self()
520 BUG_ON(ret); in thread_func()
522 BUG_ON(ret); in thread_func()
524 BUG_ON(ret); in thread_func()
536 BUG_ON(ret); in thread_func()
539 BUG_ON(ret); in thread_func()
541 BUG_ON(ret); in thread_func()
554 BUG_ON(err); in create_tasks()
557 BUG_ON(err); in create_tasks()
559 BUG_ON(err); in create_tasks()
561 BUG_ON(err); in create_tasks()
564 BUG_ON(parms == NULL); in create_tasks()
573 BUG_ON(err); in create_tasks()
590 BUG_ON(ret); in wait_for_tasks()
594 BUG_ON(ret); in wait_for_tasks()
603 BUG_ON(ret); in wait_for_tasks()
621 BUG_ON(ret); in wait_for_tasks()
804 BUG_ON(list_empty(list)); in thread_lat_cmp()
834 BUG_ON(thread != atoms->thread); in thread_atoms_search()
915 BUG_ON(list_empty(&atoms->work_list)); in add_runtime_event()
968 BUG_ON(cpu >= MAX_CPUS || cpu < 0); in latency_switch_event()
1039 BUG_ON(cpu >= MAX_CPUS || cpu < 0); in latency_runtime_event()
1087 BUG_ON(list_empty(&atoms->work_list)); in latency_wakeup_event()
1155 BUG_ON(list_empty(&atoms->work_list)); in latency_migrate_task_event()
1352 BUG_ON(this_cpu >= MAX_CPUS || this_cpu < 0); in map_switch_event()
1775 BUG_ON(i != rec_argc); in __cmd_record()