SoW-2019-0002: Dynamic Snapshot
[lttng-tools.git] / src / bin / lttng-sessiond / trace-ust.c
index a5192ffbe4116b59e6fda5fb25dc82c39210590e..ebb9ca47450980e72ad0245c0e99e5b2eae41467 100644 (file)
@@ -1,19 +1,9 @@
 /*
- * Copyright (C) 2011 David Goulet <david.goulet@polymtl.ca>
- * Copyright (C) 2016 Jérémie Galarneau <jeremie.galarneau@efficios.com>
+ * Copyright (C) 2011 David Goulet <david.goulet@polymtl.ca>
+ * Copyright (C) 2016 Jérémie Galarneau <jeremie.galarneau@efficios.com>
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License, version 2 only,
- * as published by the Free Software Foundation.
+ * SPDX-License-Identifier: GPL-2.0-only
  *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
 #define _LGPL_SOURCE
@@ -991,6 +981,7 @@ int trace_ust_track_id(enum lttng_tracker_type tracker_type,
                }
        }
        if (should_update_apps && session->active) {
+               /* TODO: should tokens be affected by tracking? */
                ust_app_global_update_all(session);
        }
        goto end;
@@ -1091,6 +1082,7 @@ int trace_ust_untrack_id(enum lttng_tracker_type tracker_type,
                }
        }
        if (should_update_apps && session->active) {
+               /* TODO should tokens be affected by tracker */
                ust_app_global_update_all(session);
        }
        goto end;
This page took 0.024314 seconds and 5 git commands to generate.