weston-log-flight-rec: Don't allow more than one flight recorder to be
authorMarius Vlad <marius.vlad@collabora.com>
Wed, 7 Aug 2019 14:18:37 +0000 (17:18 +0300)
committerDaniel Stone <daniel@fooishbar.org>
Mon, 25 Nov 2019 20:29:49 +0000 (20:29 +0000)
commit0ba0b8e86ff57bda309782482ecebc360e3d1d00
tree163f43756aea86b0b59d1f9be640287c67c9dd75
parentb1f5f8076abe588d3e4873898cc99351a653b355
weston-log-flight-rec: Don't allow more than one flight recorder to be
created

Having a (single) global variable which others depend on it implies
having a single flight recorder present. Until we have a reason to
support multiple flight recorders limit the amount to a maximum of one.

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Reported-by: Pekka Paalanen <pekka.paalanen@collabora.com>
libweston/weston-log-flight-rec.c