.TH "rte_debug.h" 3 "Version 25.11.0" "DPDK" \" -*- nroff -*-
.ad l
.nh
.SH NAME
rte_debug.h
.SH SYNOPSIS
.br
.PP
\fR#include 'rte_log\&.h'\fP
.br
\fR#include 'rte_branch_prediction\&.h'\fP
.br

.SS "Macros"

.in +1c
.ti -1c
.RI "#define \fBrte_panic\fP(\&.\&.\&.)"
.br
.in -1c
.SS "Functions"

.in +1c
.ti -1c
.RI "void \fBrte_dump_stack\fP (void)"
.br
.in -1c
.SH "Detailed Description"
.PP 
Debug Functions in RTE

.PP
This file defines a generic API for debug operations\&. Part of the implementation is architecture-specific\&. 
.PP
Definition in file \fBrte_debug\&.h\fP\&.
.SH "Macro Definition Documentation"
.PP 
.SS "#define rte_panic( \&.\&.\&.)"
\fBValue:\fP
.nf
rte_panic_(__func__, __VA_ARGS__, "dummy")
.PP
.fi
Provide notification of a critical non-recoverable error and terminate execution abnormally\&.

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

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

.PP
The function never returns\&.

.PP
\fBParameters\fP
.RS 4
\fI\&.\&.\&.\fP The format string, followed by the variable list of arguments\&. 
.RE
.PP

.PP
Definition at line \fB43\fP of file \fBrte_debug\&.h\fP\&.
.SH "Function Documentation"
.PP 
.SS "void rte_dump_stack (void )"
Dump the stack of the calling core to the standard error\&. 
.SH "Author"
.PP 
Generated automatically by Doxygen for DPDK from the source code\&.
