log: add log stream accessor
authorDavid Marchand <david.marchand@redhat.com>
Fri, 25 Oct 2019 13:56:06 +0000 (15:56 +0200)
committerDavid Marchand <david.marchand@redhat.com>
Sun, 27 Oct 2019 09:41:08 +0000 (10:41 +0100)
commitb5fedaedfcf272d1a86802132a1691ac5485f31d
tree78fc7e37ed346809687e4c1fafca29c480a43205
parentca52fccbb3b9c3409c39650d826ae883a60270d1
log: add log stream accessor

Define an accessor so that users can write their debug message to the
same stream than the rte_log infrastructure.
Use it in the qat infrastructure.

Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Kevin Traynor <ktraynor@redhat.com>
drivers/common/qat/qat_logs.c
drivers/common/qat/qat_logs.h
lib/librte_eal/common/eal_common_log.c
lib/librte_eal/common/include/rte_log.h
lib/librte_eal/rte_eal_version.map