#include <errno.h>
#include <regex.h>
#include <fnmatch.h>
+#include <sys/queue.h>
-#include <rte_eal.h>
#include <rte_log.h>
#include <rte_os_shim.h>
#include <rte_per_lcore.h>
#include "eal_log.h"
+#include "eal_private.h"
struct rte_log_dynamic_type {
const char *name;
"Debug dataplane logs available - lower performance\n");
#endif
}
+
+/*
+ * Called by eal_cleanup
+ */
+void
+rte_eal_log_cleanup(void)
+{
+ if (default_log_stream) {
+ fclose(default_log_stream);
+ default_log_stream = NULL;
+ }
+}