dlog_logger: refactor QoS distributions 25/287625/3
authorMichal Bloch <m.bloch@samsung.com>
Wed, 1 Feb 2023 18:02:01 +0000 (19:02 +0100)
committerMichal Bloch <m.bloch@samsung.com>
Thu, 2 Feb 2023 16:48:48 +0000 (17:48 +0100)
commitd4dbc33c4669942ff2281ae476f3b98d7128bfe7
treeafaa0f5ecec6695e0dc4b7094cb2b0ebfc026e85
parent6535e788a6c09f19e7c79850cdc83572f470603c
dlog_logger: refactor QoS distributions

 * now there's a getter that returns the appropriate func,
   instead of it being parsed inside config preparation code

 * the func is now a member of the QoS module struct instead
   of being global (this is related to the plan of wrapping
   logger readers in the server struct, since that contains
   an object of type QoS module)

Change-Id: Ic08bc091079e280c891f78b1358d68d63b377669
Signed-off-by: Michal Bloch <m.bloch@samsung.com>
src/logger/logger.c
src/logger/logger_internal.h
src/logger/qos.c
src/logger/qos.h
src/logger/qos_distributions.c
src/tests/qos_distributions.c