projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move event-expr from liblttng-ctl to libcommon
[lttng-tools.git]
/
src
/
lib
/
lttng-ctl
/
snapshot.c
diff --git
a/src/lib/lttng-ctl/snapshot.c
b/src/lib/lttng-ctl/snapshot.c
index f7b4741ca12b415aaed23973bff497e85dd8e370..93f393fc298bc7e9d40efebc8026913229a26ae0 100644
(file)
--- a/
src/lib/lttng-ctl/snapshot.c
+++ b/
src/lib/lttng-ctl/snapshot.c
@@
-265,29
+265,29
@@
void lttng_snapshot_output_destroy(struct lttng_snapshot_output *obj)
* Getter family functions of snapshot output.
*/
* Getter family functions of snapshot output.
*/
-uint32_t lttng_snapshot_output_get_id(struct lttng_snapshot_output *output)
+uint32_t lttng_snapshot_output_get_id(
const
struct lttng_snapshot_output *output)
{
return output->id;
}
const char *lttng_snapshot_output_get_name(
{
return output->id;
}
const char *lttng_snapshot_output_get_name(
- struct lttng_snapshot_output *output)
+
const
struct lttng_snapshot_output *output)
{
return output->name;
}
{
return output->name;
}
-const char *lttng_snapshot_output_get_data_url(struct lttng_snapshot_output *output)
+const char *lttng_snapshot_output_get_data_url(
const
struct lttng_snapshot_output *output)
{
return output->data_url;
}
{
return output->data_url;
}
-const char *lttng_snapshot_output_get_ctrl_url(struct lttng_snapshot_output *output)
+const char *lttng_snapshot_output_get_ctrl_url(
const
struct lttng_snapshot_output *output)
{
return output->ctrl_url;
}
uint64_t lttng_snapshot_output_get_maxsize(
{
return output->ctrl_url;
}
uint64_t lttng_snapshot_output_get_maxsize(
- struct lttng_snapshot_output *output)
+
const
struct lttng_snapshot_output *output)
{
return output->max_size;
}
{
return output->max_size;
}
This page took
0.0236 seconds
and
4
git commands to generate.