[dpdk-dev] [PATCH v5 1/4] log: move private functions

David Marchand david.marchand at redhat.com
Tue Apr 6 13:28:35 CEST 2021


On Mon, Apr 5, 2021 at 9:30 PM Thomas Monjalon <thomas at monjalon.net> wrote:
>
> Some private log functions had a wrong "rte_" prefix.
>
> All private log functions are moved from eal_private.h
> to the new file eal_log.h:
>         rte_eal_log_init -> eal_log_init
>         rte_log_save_regexp -> eal_log_save_regexp
>         rte_log_save_pattern -> eal_log_save_pattern
>         eal_log_set_default
>
> The static functions in the file eal_common_log.c are renamed:
>         rte_log_save_level -> log_save_level
>         rte_log_init -> log_init

+ rte_log_lookup -> log_lookup
+ __rte_log_register -> log_register

>
> Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
> Acked-by: Bruce Richardson <bruce.richardson at intel.com>
> Acked-by: Andrew Rybchenko <andrew.rybchenko at oktetlabs.ru>

Reviewed-by: David Marchand <david.marchand at redhat.com>


-- 
David Marchand



More information about the dev mailing list