log: optimize log/panic with attribute cold
[dpdk.git] / lib / librte_eal / common / include / rte_debug.h
index e191a21..acb4a9f 100644 (file)
@@ -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)));