eal: change specific log levels at startup
authorOlivier Matz <olivier.matz@6wind.com>
Tue, 4 Apr 2017 16:40:36 +0000 (18:40 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 5 Apr 2017 11:37:17 +0000 (13:37 +0200)
commit845afe51e4280aa28de5db90d4d239d8940f6e6c
tree4b45361a3c2500e60d3fd55e63c655c48f67f761
parenta5279180f510df40a40017e336d7b86512d9be70
eal: change specific log levels at startup

Example of use:
  ./app/test-pmd --log-level='pmd\.i40e.*,8'

  This enables debug logs for all dynamic logs whose type starts with
  'pmd.i40e'.

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
lib/librte_eal/bsdapp/eal/eal.c
lib/librte_eal/common/eal_common_options.c
lib/librte_eal/linuxapp/eal/eal.c