Fat update. Almost final code before going to lttng-tools implementation

Signed-off-by: David Goulet <dgoulet@ev0ke.net>