From: David Goulet Date: Mon, 21 Jan 2013 16:24:29 +0000 (-0500) Subject: Fix: change function name for better meaning X-Git-Tag: v2.2.0-rc1~106 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=5922e6c21e0ad1a5050b2440bcc14f15abd9c5f4;p=lttng-tools.git Fix: change function name for better meaning Mostly to avoid confusion in the future for patches, reviews and contributors. Signed-off-by: David Goulet --- diff --git a/src/bin/lttng-sessiond/ust-app.c b/src/bin/lttng-sessiond/ust-app.c index 035fe7f67..22b395773 100644 --- a/src/bin/lttng-sessiond/ust-app.c +++ b/src/bin/lttng-sessiond/ust-app.c @@ -721,9 +721,9 @@ error: } /* - * Create stream onto the UST tracer for a UST session. + * Create metadata stream onto the UST tracer for a given session. */ -static int create_ust_stream(struct ust_app *app, +static int create_ust_metadata_stream(struct ust_app *app, struct ust_app_session *ua_sess) { int ret; @@ -1375,7 +1375,7 @@ static int create_ust_app_metadata(struct ust_app_session *ua_sess, /* Open UST metadata stream */ if (ua_sess->metadata->stream_obj == NULL) { - ret = create_ust_stream(app, ua_sess); + ret = create_ust_metadata_stream(app, ua_sess); if (ret < 0) { goto error; }