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)
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


No differences found
This page took 0.025103 seconds and 4 git commands to generate.