projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
doc/man: use specific revision date for each manual page
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
ust-app.c
diff --git
a/src/bin/lttng-sessiond/ust-app.c
b/src/bin/lttng-sessiond/ust-app.c
index b3251c19c94ff6feb173fb387866becc799e6c03..c03772842b88e39976716c7c9f926217d2668e04 100644
(file)
--- a/
src/bin/lttng-sessiond/ust-app.c
+++ b/
src/bin/lttng-sessiond/ust-app.c
@@
-1100,7
+1100,7
@@
struct ust_app_event *alloc_ust_app_event(char *name,
/* Init most of the default value by allocating and zeroing */
ua_event = zmalloc(sizeof(struct ust_app_event));
if (ua_event == NULL) {
/* Init most of the default value by allocating and zeroing */
ua_event = zmalloc(sizeof(struct ust_app_event));
if (ua_event == NULL) {
- PERROR("
malloc
");
+ PERROR("
Failed to allocate ust_app_event structure
");
goto error;
}
goto error;
}
@@
-3133,7
+3133,7
@@
int create_ust_app_event(struct ust_app_session *ua_sess,
ua_event = alloc_ust_app_event(uevent->attr.name, &uevent->attr);
if (ua_event == NULL) {
ua_event = alloc_ust_app_event(uevent->attr.name, &uevent->attr);
if (ua_event == NULL) {
- /* Only
malloc can failed so something is really wrong
*/
+ /* Only
failure mode of alloc_ust_app_event().
*/
ret = -ENOMEM;
goto end;
}
ret = -ENOMEM;
goto end;
}
@@
-4212,7
+4212,7
@@
int ust_app_create_channel_glb(struct ltt_ust_session *usess,
if (session_was_created) {
destroy_app_session(app, ua_sess);
}
if (session_was_created) {
destroy_app_session(app, ua_sess);
}
- goto error_rcu_unlock;
+ /* Continue to the next application. */
}
}
}
}
This page took
0.040775 seconds
and
4
git commands to generate.