Lines Matching refs:BUG_ON

252 	BUG_ON(!task->atoms);  in get_new_event()
336 BUG_ON((sched->pid_to_task = calloc(pid_max, sizeof(struct task_desc *))) == NULL); in register_pid()
339 BUG_ON((sched->pid_to_task = realloc(sched->pid_to_task, (pid + 1) * in register_pid()
363 BUG_ON(!sched->tasks); in register_pid()
412 BUG_ON(ret); in perf_sched__process_event()
417 BUG_ON(ret); in perf_sched__process_event()
422 BUG_ON(1); in perf_sched__process_event()
433 BUG_ON(err); in get_cpu_usage_nsec_parent()
461 BUG_ON(getrlimit(RLIMIT_NOFILE, &limit) == -1); in self_open_counters()
489 BUG_ON(ret != sizeof(runtime)); in get_cpu_usage_nsec_self()
518 BUG_ON(ret); in thread_func()
520 BUG_ON(ret); in thread_func()
522 BUG_ON(ret); in thread_func()
534 BUG_ON(ret); in thread_func()
537 BUG_ON(ret); in thread_func()
539 BUG_ON(ret); in thread_func()
552 BUG_ON(err); in create_tasks()
555 BUG_ON(err); in create_tasks()
557 BUG_ON(err); in create_tasks()
559 BUG_ON(err); in create_tasks()
562 BUG_ON(parms == NULL); in create_tasks()
571 BUG_ON(err); in create_tasks()
588 BUG_ON(ret); in wait_for_tasks()
592 BUG_ON(ret); in wait_for_tasks()
601 BUG_ON(ret); in wait_for_tasks()
619 BUG_ON(ret); in wait_for_tasks()
799 BUG_ON(list_empty(list)); in thread_lat_cmp()
829 BUG_ON(thread != atoms->thread); in thread_atoms_search()
910 BUG_ON(list_empty(&atoms->work_list)); in add_runtime_event()
963 BUG_ON(cpu >= MAX_CPUS || cpu < 0); in latency_switch_event()
1026 BUG_ON(cpu >= MAX_CPUS || cpu < 0); in latency_runtime_event()
1068 BUG_ON(list_empty(&atoms->work_list)); in latency_wakeup_event()
1129 BUG_ON(list_empty(&atoms->work_list)); in latency_migrate_task_event()
1315 BUG_ON(this_cpu >= MAX_CPUS || this_cpu < 0); in map_switch_event()
1680 BUG_ON(i != rec_argc); in __cmd_record()