Fix: sessiond: assertion fails when getting name of trigger
[lttng-tools.git] / src / bin / lttng-sessiond / buffer-registry.c
index 06e8f6b6a399030177ae2dfd955ef15baa927b2c..32fcbfb5f9ad55276444057e1aa389bd277f8356 100644 (file)
@@ -1,18 +1,8 @@
 /*
- * Copyright (C) 2013 David Goulet <dgoulet@efficios.com>
+ * Copyright (C) 2013 David Goulet <dgoulet@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
@@ -24,7 +14,8 @@
 #include "buffer-registry.h"
 #include "fd-limit.h"
 #include "ust-consumer.h"
-#include "ust-ctl.h"
+#include "lttng-ust-ctl.h"
+#include "lttng-ust-error.h"
 #include "utils.h"
 
 /*
@@ -334,8 +325,7 @@ end:
  */
 int buffer_reg_uid_consumer_channel_key(
                struct cds_list_head *buffer_reg_uid_list,
-               uint64_t usess_id, uint64_t chan_key,
-               uint64_t *consumer_chan_key)
+               uint64_t chan_key, uint64_t *consumer_chan_key)
 {
        struct lttng_ht_iter iter;
        struct buffer_reg_uid *uid_reg = NULL;
This page took 0.023545 seconds and 4 git commands to generate.