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)
committerJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Tue, 26 May 2020 18:29:52 +0000 (14:29 -0400)
commit9304a209a3fbf87de0f96c2a75422abcb210f823
treebcf3fb67219c832e6fc4a012115216353a2d546d
parent9e782f9ad3b6405f17dbe97301302248980fbcf8
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.027993 seconds and 5 git commands to generate.