eal: support dynamic log types
authorOlivier Matz <olivier.matz@6wind.com>
Tue, 4 Apr 2017 16:40:33 +0000 (18:40 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 5 Apr 2017 11:37:17 +0000 (13:37 +0200)
commitc1b5fa94a46fb9b4720dd3d1c1ca8852ae360c9b
tree51139e158192201495f9a4674e6dd17d192919f5
parent12e58e707cceb26378a40108db8e33a3cba357b9
eal: support dynamic log types

Introduce 2 new functions to support dynamic log types:

- rte_log_register(): register a log name, and return a log type id
- rte_log_set_level(): set the log level of a given log type

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
doc/guides/contributing/coding_style.rst
doc/guides/rel_notes/release_17_05.rst
lib/librte_eal/bsdapp/eal/rte_eal_version.map
lib/librte_eal/common/eal_common_log.c
lib/librte_eal/common/include/rte_log.h
lib/librte_eal/linuxapp/eal/rte_eal_version.map
test/test/test_logs.c