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 21:28:28 +0000 (17:28 -0400)
commitbb09693bc5b9d3123e8dd5a5ac9729597b9ec3c7
treed5967fea00a4fa9e44358a2af9185bc5edccde0e
parent88be8d77519f987de53a8f1f17aeec296dddb283
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.025021 seconds and 4 git commands to generate.