consumerd: refactor: combine duplicated check_*_functions
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 29 Apr 2020 04:03:43 +0000 (00:03 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 26 May 2020 20:25:31 +0000 (16:25 -0400)
commitfad4b619a1f7491acaf9b8fd2396c115b5bef56f
tree2009907038f4e220d27d058f673ad11aee40a22e
parent41dc93d9df7c6bba1e1fb765d726700c9eafb144
consumerd: refactor: combine duplicated check_*_functions

The check_ust_stream and check_kernel_stream functions are identical
except for the call to the domain-specific call to
consumer_flush_*_index.

A "flush_index" callback is passed to check_stream in order to share
the rest of that code.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Iafdb64192322c0106a555b67f54290dadc4f0579
src/common/consumer/consumer-timer.c
This page took 0.032946 seconds and 4 git commands to generate.