Fix: Rename ust_app_destroy_trace and set it static
authorDavid Goulet <dgoulet@efficios.com>
Fri, 7 Dec 2012 20:54:19 +0000 (15:54 -0500)
committerDavid Goulet <dgoulet@efficios.com>
Fri, 7 Dec 2012 20:54:19 +0000 (15:54 -0500)
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-sessiond/ust-app.c
src/bin/lttng-sessiond/ust-app.h

index 3accde269509e0e8b66c3b25c35b86a90289fb5b..384f8e68812387e8188ad7ef24af80f0b14641e4 100644 (file)
@@ -2442,7 +2442,7 @@ error_rcu_unlock:
 /*
  * Destroy a specific UST session in apps.
  */
-int ust_app_destroy_trace(struct ltt_ust_session *usess, struct ust_app *app)
+static int destroy_trace(struct ltt_ust_session *usess, struct ust_app *app)
 {
        struct ust_app_session *ua_sess;
        struct lttng_ust_object_data obj;
@@ -2556,7 +2556,7 @@ int ust_app_destroy_trace_all(struct ltt_ust_session *usess)
        rcu_read_lock();
 
        cds_lfht_for_each_entry(ust_app_ht->ht, &iter.iter, app, pid_n.node) {
-               ret = ust_app_destroy_trace(usess, app);
+               ret = destroy_trace(usess, app);
                if (ret < 0) {
                        /* Continue to next apps even on error */
                        continue;
index 5447b7fe6d7cd13f840f12a68fe1585bc6e61159..8c23c319d6c41fd6c037f85f43674ff3752ad4af 100644 (file)
@@ -157,7 +157,6 @@ int ust_app_start_trace(struct ltt_ust_session *usess, struct ust_app *app);
 int ust_app_stop_trace(struct ltt_ust_session *usess, struct ust_app *app);
 int ust_app_start_trace_all(struct ltt_ust_session *usess);
 int ust_app_stop_trace_all(struct ltt_ust_session *usess);
-int ust_app_destroy_trace(struct ltt_ust_session *usess, struct ust_app *app);
 int ust_app_destroy_trace_all(struct ltt_ust_session *usess);
 int ust_app_list_events(struct lttng_event **events);
 int ust_app_list_event_fields(struct lttng_event_field **fields);
This page took 0.029612 seconds and 5 git commands to generate.