X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=src%2Flib%2Flttng-ctl%2Fload.c;h=be236f242b25b9fb0096ba42e73167d6400fb38b;hb=0d4bab5e4bd1654515ce754a3d9699cafe9b41b2;hp=1e17d481b1041750b3dca811c1721befb6e88016;hpb=a2a75fa4301617ab0d2b97614a989e3ad6efa4bb;p=lttng-tools.git diff --git a/src/lib/lttng-ctl/load.c b/src/lib/lttng-ctl/load.c index 1e17d481b..be236f242 100644 --- a/src/lib/lttng-ctl/load.c +++ b/src/lib/lttng-ctl/load.c @@ -504,11 +504,7 @@ end: free(uri); return ret; } -/* - * The lttng-ctl API does not expose all the information needed to load the - * session configurations. Thus, we must send a load command to the session - * daemon which will, in turn, load its current session configuration. - */ + int lttng_load_session(struct lttng_load_session_attr *attr) { int ret;