Record LTTng snapshot when latency higher than a threshold

When a request takes longer than the specified threshold, use LTTng to
record a snapshot in /tmp.

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>