Home
last modified time | relevance | path

Searched refs:WARN_ONCE (Results 1 – 24 of 24) sorted by relevance

/tools/perf/util/
A Dcloexec.c55 WARN_ONCE(err != EINVAL && err != EBUSY && err != EACCES, in perf_flag_probe()
73 if (WARN_ONCE(fd < 0 && err != EBUSY && err != EACCES, in perf_flag_probe()
A Dtrigger.h37 WARN_ONCE(t->state != exp, "trigger '%s' state transist error: %d in %s()\n", \
A Dmem2node.c100 WARN_ONCE(j == 0, "No memory nodes, is CONFIG_MEMORY_HOTPLUG enabled?\n")) in mem2node__init()
A Dnamespaces.c220 WARN_ONCE(refcount_read(nsinfo__refcnt(nsi)) != 0, "nsinfo refcnt unbalanced\n"); in nsinfo__delete()
A Dordered-events.c301 if (WARN_ONCE(!last || list_empty(head), "empty queue")) in __ordered_events__flush()
A Dunwind-libunwind-local.c756 WARN_ONCE(!ui->thread, "WARNING: ui->thread is NULL"); in get_entries()
A Ddso.c299 WARN_ONCE(mode != cpumode, in is_kernel_module()
533 WARN_ONCE(dso__data_open_cnt <= 0, in dso__list_del()
A Dparse-events.c1779 WARN_ONCE(true, "WARNING: failed to set leader: empty list"); in parse_events__set_leader()
2281 WARN_ONCE(true, "WARNING: event parser found nothing\n"); in __parse_events()
A Ddata-convert-bt.c811 if (WARN_ONCE(!priv, "Failed to setup all events.\n")) in process_sample_event()
A Dmachine.c636 WARN_ONCE(event->namespaces.nr_namespaces > NR_NAMESPACES, in machine__process_namespaces_event()
640 WARN_ONCE(event->namespaces.nr_namespaces < NR_NAMESPACES, in machine__process_namespaces_event()
A Dcallchain.c972 WARN_ONCE(cmp == MATCH_ERROR, "Chain comparison error\n"); in append_chain()
A Devlist.c1800 WARN_ONCE(1, "Shouldn't get there\n"); in evlist__toggle_bkw_mmap()
A Dauxtrace.c121 WARN_ONCE(mm->base, "Uninitialized auxtrace_mmap\n"); in auxtrace_mmap__mmap()
A Dsynthetic-events.c1404 WARN_ONCE(i != PERF_STAT_CONFIG_TERM__MAX, in perf_event__synthesize_stat_config()
A Devsel.c3255 if (WARN_ONCE(data->user_stack.size > sz, in evsel__parse_sample()
/tools/testing/selftests/mm/page_frag/
A Dpage_frag_test.c94 WARN_ONCE(true, TEST_FAILED_PREFIX "unaligned va returned\n"); in page_frag_push_thread()
162 WARN_ONCE(true, TEST_FAILED_PREFIX "no progress\n"); in page_frag_test_init()
/tools/include/asm/
A Dbug.h36 #define WARN_ONCE(condition, format...) ({ \ macro
/tools/lib/perf/
A Dthreadmap.c72 WARN_ONCE(refcount_read(&threads->refcnt) != 0, in perf_thread_map__delete()
A Dcpumap.c52 WARN_ONCE(refcount_read(perf_cpu_map__refcnt(map)) != 0, in cpu_map__delete()
206 WARN_ONCE(end_cpu >= MAX_NR_CPUS, "Perf can support %d CPUs. " in perf_cpu_map__new()
A Dmmap.c140 WARN_ONCE(1, "Shouldn't get here\n"); in overwrite_rb_find_range()
163 WARN_ONCE(1, "failed to keep up with mmap data. (warn only once)\n"); in __perf_mmap__read_init()
/tools/perf/
A Dbuiltin-c2c.c231 if (WARN_ONCE(sample->cpu == (unsigned int) -1, in c2c_he__set_cpu()
249 if (WARN_ONCE(node < 0, "WARNING: failed to find node\n")) in c2c_he__set_node()
2317 if (WARN_ONCE(cpu2node[cpu.cpu] != -1, "node/cpu topology bug")) in setup_nodes()
2486 if (WARN_ONCE(ret, "failed to setup sort entries\n")) in print_pareto()
A Dbuiltin-record.c2093 WARN_ONCE(err < 0, "Couldn't record kernel reference relocation symbol\n" in record__synthesize()
2099 WARN_ONCE(err < 0, "Couldn't record kernel module information.\n" in record__synthesize()
A Dbuiltin-stat.c2171 if (WARN_ONCE(st->maps_allocated, "stats double allocation\n")) in set_maps()
A Dbuiltin-script.c3555 if (WARN_ONCE(script->allocated, "stats double allocation\n")) in set_maps()

Completed in 997 milliseconds