[dpdk-dev] [PATCH v2 4/5] log: add ability to match dynamic log based on shell pattern

Thomas Monjalon thomas at monjalon.net
Wed Apr 25 02:02:20 CEST 2018


24/04/2018 18:58, Stephen Hemminger:
>   /* enable all PMD logs (whose identifier string starts with "pmd") */
> - rte_log_set_level_regexp("pmd.*", RTE_LOG_DEBUG);
> + rte_log_set_level_match("pmd.*", RTE_LOG_DEBUG);

The function name in the doc above does not match (sic)
the new function name below.

[...]
> +int rte_log_set_level_pattern(const char *pattern, uint32_t level);





More information about the dev mailing list