lttng-ctl: add override helper to load api
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Thu, 8 Sep 2016 22:02:51 +0000 (18:02 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 7 Oct 2016 04:44:05 +0000 (00:44 -0400)
commita2a75fa4301617ab0d2b97614a989e3ad6efa4bb
tree2e58c519489afb84aa4ff75fb60d1e9ce76f3e03
parent40b4155f51de2e0644d7e8d9b4d024cbeee91c74
lttng-ctl: add override helper to load api

User can provide an url override that will be used during the loading of a
configuration file.

The url format is the same found at lttng-create(1).

This correspond to a --set-url operation on lttng-create.

Note: an url might be invalid for a trace configuration. The override will fail
during the session load (call to lttng_load_session) and simply cancel the
loading.

e.g Loading a live session with a file:// url override will fail.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
include/lttng/load-internal.h
include/lttng/load.h
src/common/config/session-config.h
src/lib/lttng-ctl/load.c
This page took 0.026179 seconds and 4 git commands to generate.