Home
last modified time | relevance | path

Searched refs:BUG_ON (Results 1 – 17 of 17) sorted by relevance

/external/linux-tools-perf/src/tools/perf/bench/
Dnuma.c212 BUG_ON(ret); in bind_to_cpu()
222 BUG_ON(target_cpu < 0 || target_cpu >= g->p.nr_cpus); in bind_to_cpu()
227 BUG_ON(ret); in bind_to_cpu()
239 BUG_ON(cpus_per_node*g->p.nr_nodes != g->p.nr_cpus); in bind_to_node()
240 BUG_ON(!cpus_per_node); in bind_to_node()
243 BUG_ON(ret); in bind_to_node()
254 BUG_ON(cpu_stop > g->p.nr_cpus); in bind_to_node()
261 BUG_ON(ret); in bind_to_node()
271 BUG_ON(ret); in bind_to_cpumask()
280 BUG_ON(ret); in mempol_restore()
[all …]
Dmem-memset.c91 BUG_ON(cycle_fd < 0); in init_cycle()
100 BUG_ON(ret != sizeof(u64)); in get_cycle()
149 BUG_ON(gettimeofday(&tv_start, NULL)); in do_memset_gettimeofday()
152 BUG_ON(gettimeofday(&tv_end, NULL)); in do_memset_gettimeofday()
Dmem-memcpy.c91 BUG_ON(cycle_fd < 0); in init_cycle()
100 BUG_ON(ret != sizeof(u64)); in get_cycle()
156 BUG_ON(gettimeofday(&tv_start, NULL)); in do_memcpy_gettimeofday()
159 BUG_ON(gettimeofday(&tv_end, NULL)); in do_memcpy_gettimeofday()
Dsched-pipe.c64 BUG_ON(pipe(pipe_1)); in bench_sched_pipe()
65 BUG_ON(pipe(pipe_2)); in bench_sched_pipe()
/external/linux-tools-perf/src/tools/perf/
Dbuiltin-sched.c250 BUG_ON(!task->atoms); in get_new_event()
330 BUG_ON(pid >= MAX_PID); in register_pid()
350 BUG_ON(!sched->tasks); in register_pid()
399 BUG_ON(ret); in perf_sched__process_event()
404 BUG_ON(ret); in perf_sched__process_event()
409 BUG_ON(1); in perf_sched__process_event()
420 BUG_ON(err); in get_cpu_usage_nsec_parent()
452 BUG_ON(ret != sizeof(runtime)); in get_cpu_usage_nsec_self()
481 BUG_ON(ret); in thread_func()
483 BUG_ON(ret); in thread_func()
[all …]
Dbuiltin-lock.c149 BUG_ON("inserting invalid thread_stat\n"); in thread_stat_insert()
451 BUG_ON("Unknown state of lock sequence found!\n"); in report_lock_acquire_event()
514 BUG_ON("Unknown state of lock sequence found!\n"); in report_lock_acquired_event()
569 BUG_ON("Unknown state of lock sequence found!\n"); in report_lock_contended_event()
614 BUG_ON(seq->read_count < 0); in report_lock_release_event()
629 BUG_ON("Unknown state of lock sequence found!\n"); in report_lock_release_event()
915 BUG_ON(i != rec_argc); in __cmd_record()
Dbuiltin-diff.c299 BUG_ON(1); in formula_fprintf()
451 BUG_ON(1); in hists__precompute()
493 BUG_ON(1); in __hist_entry__cmp_compute()
839 BUG_ON(1); in hpp__entry_pair()
883 BUG_ON(!dfmt->header); in hpp__header()
893 BUG_ON(dfmt->header_width <= 0); in hpp__width()
905 BUG_ON(dfmt->idx >= PERF_HPP_DIFF__MAX_INDEX); in init_header()
910 BUG_ON(!header); in init_header()
Dbuiltin-kvm.c411 BUG_ON(key->key == INVALID_KEY); in find_create_kvm_event()
1620 BUG_ON(i != rec_argc); in __cmd_record()
1638 BUG_ON(i != rec_argc); in __cmd_report()
1657 BUG_ON(i != rec_argc); in __cmd_buildid_list()
/external/linux-tools-perf/src/tools/perf/util/include/linux/
Dkernel.h58 #ifndef BUG_ON
60 #define BUG_ON(cond) do { if (cond) {} } while (0) macro
62 #define BUG_ON(cond) assert(!(cond)) macro
/external/linux-tools-perf/src/tools/perf/util/
Ddso.h44 BUG_ON(dso->needs_swap == DSO_SWAP__UNSET); \
57 BUG_ON(1); \
Dtarget.c113 BUG_ON(buflen == 0); in perf_target__strerror()
Ddso.c315 BUG_ON(ret > size); in dso__data_read_offset()
Devsel.c935 BUG_ON(!leader->fd); in get_group_fd()
938 BUG_ON(fd == -1); in get_group_fd()
Dparse-events.c1304 BUG_ON(idx >= PERF_COUNT_HW_MAX); in parse_events_term__sym_hw()
Dsession.c315 BUG_ON(size % sizeof(u64)); in swap_sample_id_all()
/external/linux-tools-perf/src/tools/perf/ui/
Dhist.c235 BUG_ON(col >= PERF_HPP__MAX_INDEX); in perf_hpp__column_enable()
/external/selinux/libsepol/src/
Dservices.c72 #define BUG_ON(x) do { if (x) ERR(NULL, "Badness at %s:%d", __FILE__, __LINE__); } while (0) macro
474 BUG_ON(sp < 0); in constraint_expr_eval_reason()
479 BUG_ON(sp < 1); in constraint_expr_eval_reason()
485 BUG_ON(sp < 1); in constraint_expr_eval_reason()