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:05:27 +0000 (17:05 -0400)
commit367bbd799b232b84961f876103e33d020d4f8cf9
tree62550c67cdc6d104932e6d55b36468d8d1b66dee
parent16ed88b077db841bde0f8f6f7d82fd9c2229fa4b
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.024906 seconds and 4 git commands to generate.