There is no reason for the DPDK libraries to all have 'librte_' prefix on the directory names. This prefix makes the directory names longer and also makes it awkward to add features referring to individual libraries in the build - should the lib names be specified with or without the prefix. Therefore, we can just remove the library prefix and use the library's unique name as the directory name, i.e. 'eal' rather than 'librte_eal' Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
19 lines
377 B
C
19 lines
377 B
C
/* SPDX-License-Identifier: BSD-3-Clause
|
|
* Copyright(c) 2017-2018 Intel Corporation
|
|
*/
|
|
|
|
#include <rte_common.h>
|
|
#include <rte_log.h>
|
|
#include "eal_log.h"
|
|
|
|
/* set the log to default function, called during eal init process. */
|
|
int
|
|
eal_log_init(__rte_unused const char *id, __rte_unused int facility)
|
|
{
|
|
rte_openlog_stream(stderr);
|
|
|
|
eal_log_set_default(stderr);
|
|
|
|
return 0;
|
|
}
|