projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: sessiond: size-based rotation threshold exceeded in per-pid tracing (1/2)
[lttng-tools.git]
/
src
/
common
/
mi-lttng.cpp
diff --git
a/src/common/mi-lttng.cpp
b/src/common/mi-lttng.cpp
index d41a3cadc7e2e1d05f11bc9f773ac2308f420f09..01e89b779811a62be5da524148ba41b21f3cb71a 100644
(file)
--- a/
src/common/mi-lttng.cpp
+++ b/
src/common/mi-lttng.cpp
@@
-1,20
+1,19
@@
/*
/*
- * Copyright (C) 2014 Jonathan Rajotte <jonathan.r.julien@gmail.com>
- * Copyright (C) 2014 Olivier Cotte <olivier.cotte@polymtl.ca>
+ * Copyright (C) 2014 EfficiOS Inc.
* Copyright (C) 2016 Jérémie Galarneau <jeremie.galarneau@efficios.com>
*
* Copyright (C) 2016 Jérémie Galarneau <jeremie.galarneau@efficios.com>
*
- * SPDX-License-Identifier:
GPL-2.0
-only
+ * SPDX-License-Identifier:
LGPL-2.1
-only
*
*/
#include "lttng/tracker.h"
#define _LGPL_SOURCE
*
*/
#include "lttng/tracker.h"
#define _LGPL_SOURCE
-#include "mi-lttng.h"
-#include <common/config/session-config.h>
-#include <common/defaults.h>
-#include <common/tracker.h>
+#include "mi-lttng.h
pp
"
+#include <common/config/session-config.h
pp
>
+#include <common/defaults.h
pp
>
+#include <common/tracker.h
pp
>
#include <lttng/channel.h>
#include <lttng/channel.h>
-#include <lttng/snapshot-internal.h>
+#include <lttng/snapshot-internal.h
pp
>
#define MI_SCHEMA_MAJOR_VERSION 4
#define MI_SCHEMA_MAJOR_VERSION 4
@@
-774,7
+773,7
@@
struct mi_writer *mi_lttng_writer_create(int fd_output, int mi_output_type)
{
struct mi_writer *mi_writer;
{
struct mi_writer *mi_writer;
- mi_writer =
(struct mi_writer *) zmalloc(sizeof(struct mi_writer)
);
+ mi_writer =
zmalloc<struct mi_writer>(
);
if (!mi_writer) {
PERROR("zmalloc mi_writer_create");
goto end;
if (!mi_writer) {
PERROR("zmalloc mi_writer_create");
goto end;
@@
-2368,8
+2367,7
@@
end:
return ret;
}
return ret;
}
-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)
{
int ret;
const char *cmdline_ctrl_url, const char *cmdline_data_url)
{
int ret;
This page took
0.025076 seconds
and
4
git commands to generate.