From: Jonathan Rajotte Date: Mon, 23 Mar 2020 22:27:59 +0000 (-0400) Subject: trigger: implement trigger naming X-Git-Tag: v2.13.0-rc1~429 X-Git-Url: http://git.lttng.org/?a=commitdiff_plain;h=242388e491e4219f967ee424d7bf02035a313e6f;hp=242388e491e4219f967ee424d7bf02035a313e6f;p=lttng-tools.git trigger: implement trigger naming A trigger can now have an optional name on the client side. If no name is provided the sessiond will generate a name and return a trigger object to populate the client side object. For now, the name generation code generate the following pattern: TN Where `N` is incremented each time a name has to be generated. If a collision occurs, we increment `N` as needed. Signed-off-by: Jonathan Rajotte Signed-off-by: Jérémie Galarneau Change-Id: I5f303610713c049177e53937bfc9824cd61501e4 ---