git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
log: optimize log/panic with attribute cold
[dpdk.git]
/
lib
/
librte_eal
/
common
/
include
/
rte_debug.h
diff --git
a/lib/librte_eal/common/include/rte_debug.h
b/lib/librte_eal/common/include/rte_debug.h
index
e191a21
..
acb4a9f
100644
(file)
--- a/
lib/librte_eal/common/include/rte_debug.h
+++ b/
lib/librte_eal/common/include/rte_debug.h
@@
-86,6
+86,7
@@
void rte_dump_registers(void);
* documentation.
*/
void __rte_panic(const char *funcname , const char *format, ...)
+ __attribute__((cold))
__attribute__((noreturn))
__attribute__((format(printf, 2, 3)));