From: Mathieu Desnoyers Date: Wed, 17 Oct 2018 21:16:12 +0000 (-0400) Subject: Always choose large event header for UST channels X-Git-Tag: v2.9.11~10 X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;h=4d3350dd504d64cb10770c683848afd04a5817ea;hp=4d3350dd504d64cb10770c683848afd04a5817ea;p=lttng-tools.git Always choose large event header for UST channels UST can receive the session start command before all probe provider library constructors have completed running, therefore finding less events than eventually enabled within the process. Moreover, with per-uid buffers, many processes end up registering events into shared buffers. Therefore, the guess based on number of events from the first process to use the buffer is incorrect. Considering that we typically have applications with more than 30 events, we will modify the session daemon so it selects the "large" header type independently of the number of events. Signed-off-by: Mathieu Desnoyers Signed-off-by: Jérémie Galarneau ---