---
name: "rte_debug.h"
section: "3"
platform: "linux"
package: "dpdk-doc"
version: "24.11.4-0+deb13u1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/rte_debug.h"
---

# rte\_debug.h(3)

## NAME

rte\_debug.h

## SYNOPSIS

`#include 'rte_log.h'`\
 `#include 'rte_branch_prediction.h'`\

### Macros

\#define **rte\_panic**(...)   rte\_panic\_(\_\_func\_\_, \_\_VA\_ARGS\_\_, 'dummy')\

### Functions

void **rte\_dump\_stack** (void)\

## Detailed Description

Debug Functions in RTE

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

Definition in file **rte\_debug.h**.

## 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 linux environment, this function dumps the stack and calls abort() resulting in a core dump if enabled.

The function never returns.

**Parameters**

*...* The format string, followed by the variable list of arguments.

Definition at line **43** of file **rte\_debug.h**.

## Function Documentation

### void rte\_dump\_stack (void)

Dump the stack of the calling core to the standard error.

## Author

Generated automatically by Doxygen for DPDK from the source code.
