MCPcopy Create free account
hub / github.com/F-Stack/f-stack / __rte_panic

Function __rte_panic

dpdk/lib/eal/common/eal_common_debug.c:14–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12#include <rte_errno.h>
13
14void
15__rte_panic(const char *funcname, const char *format, ...)
16{
17 va_list ap;
18
19 rte_log(RTE_LOG_CRIT, RTE_LOGTYPE_EAL, "PANIC in %s():\n", funcname);
20 va_start(ap, format);
21 rte_vlog(RTE_LOG_CRIT, RTE_LOGTYPE_EAL, format, ap);
22 va_end(ap);
23 rte_dump_stack();
24 abort(); /* generate a coredump if enabled */
25}
26
27/*
28 * Like rte_panic this terminates the application. However, no traceback is

Callers

nothing calls this directly

Calls 4

rte_logFunction · 0.85
rte_vlogFunction · 0.85
abortClass · 0.85
rte_dump_stackFunction · 0.50

Tested by

no test coverage detected