X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=src%2Fcommon%2Fmi-lttng.h;h=78e04199a0afd98baae805f6cba8d10b6a6f6402;hb=159a54f4a1c884e465c40ffc7ac02fd64c294bf8;hp=a9c59a62ac61b6b33b11c65df159d9878121b78a;hpb=b66cbf1731486ab4dc7e0b2e1c3fa05cc5360c19;p=lttng-tools.git diff --git a/src/common/mi-lttng.h b/src/common/mi-lttng.h index a9c59a62a..78e04199a 100644 --- a/src/common/mi-lttng.h +++ b/src/common/mi-lttng.h @@ -1,9 +1,8 @@ /* - * Copyright (C) 2014 Jonathan Rajotte - * Copyright (C) 2014 Olivier Cotte + * Copyright (C) 2014 EfficiOS Inc. * Copyright (C) 2016 Jérémie Galarneau * - * SPDX-License-Identifier: GPL-2.0-only + * SPDX-License-Identifier: LGPL-2.1-only * */ @@ -1043,15 +1042,12 @@ int mi_lttng_snapshot_add_output(struct mi_writer *writer, * * writer An instance of a machine interface writer. * - * current_session_name: Snapshot record for session "current_session_name". - * * ctrl_url, data_url: Destination of the output receive from the command-line. * * Returns zero if the element's value could be written. * Negative values indicate an error. */ -int mi_lttng_snapshot_record(struct mi_writer *writer, - const char *current_session_name, const char *url, +int mi_lttng_snapshot_record(struct mi_writer *writer, const char *url, const char *cmdline_ctrl_url, const char *cmdline_data_url); /*