DPDK  2.0.0
Macros | Functions
rte_debug.h File Reference


#define rte_panic(...)   rte_panic_(__func__, __VA_ARGS__, "dummy")


void rte_dump_stack (void)
void rte_dump_registers (void)

Detailed Description

Debug Functions in RTE

This file defines a generic API for debug operations. Part of the implementation is architecture-specific.

Macro Definition Documentation

#define rte_panic (   ...)    rte_panic_(__func__, __VA_ARGS__, "dummy")

Provide notification of a critical non-recoverable error and terminate execution abnormally.

Display the format string and its expanded arguments (printf-like).

In a linuxapp environment, this function dumps the stack and calls abort() resulting in a core dump if enabled.

The function never returns.

formatThe format string
argsThe variable list of arguments.

Function Documentation

void rte_dump_registers ( void  )

Dump the registers of the calling core to the console.

Note: Not implemented in a userapp environment; use gdb instead.

void rte_dump_stack ( void  )

Dump the stack of the calling core to the console.