From: Jérémie Galarneau Date: Tue, 5 May 2020 17:13:03 +0000 (-0400) Subject: consumerd: pass channel instance to stream creation function X-Git-Tag: v2.13.0-rc1~636 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=49f45573c5077c2e1766819bf13518ac560a3ee0;hp=49f45573c5077c2e1766819bf13518ac560a3ee0;ds=sidebyside consumerd: pass channel instance to stream creation function Both callsites of consumer_allocate_stream() set the stream's "chan" pointer after the creation. Pass the channel directly to the stream creation function so it can initialize the stream according to the channel's settings. Signed-off-by: Jérémie Galarneau Change-Id: Icea7088e7695e310585bf398e14e6443d67a30bb ---