projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix enabled state when listing UST events
[lttng-tools.git]
/
lttng-sessiond
/
trace-ust.c
diff --git
a/lttng-sessiond/trace-ust.c
b/lttng-sessiond/trace-ust.c
index bc73b79776780a0d64fe98ceb2e5c93b0bf83a44..a0d3b1b4165fc26fa87149db9f8a1bf3075a7613 100644
(file)
--- a/
lttng-sessiond/trace-ust.c
+++ b/
lttng-sessiond/trace-ust.c
@@
-137,7
+137,7
@@
struct ltt_ust_channel *trace_ust_create_channel(struct lttng_channel *chan,
int ret;
struct ltt_ust_channel *luc;
int ret;
struct ltt_ust_channel *luc;
- luc = malloc(sizeof(struct ltt_ust_channel));
+ luc =
z
malloc(sizeof(struct ltt_ust_channel));
if (luc == NULL) {
perror("ltt_ust_channel malloc");
goto error;
if (luc == NULL) {
perror("ltt_ust_channel malloc");
goto error;
@@
-194,7
+194,7
@@
struct ltt_ust_event *trace_ust_create_event(struct lttng_event *ev)
{
struct ltt_ust_event *lue;
{
struct ltt_ust_event *lue;
- lue = malloc(sizeof(struct ltt_ust_event));
+ lue =
z
malloc(sizeof(struct ltt_ust_event));
if (lue == NULL) {
PERROR("ust event malloc");
goto error;
if (lue == NULL) {
PERROR("ust event malloc");
goto error;
This page took
0.025776 seconds
and
4
git commands to generate.