projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tests: lttngctl.py: allow the creation of per-pid buffers
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
ust-app.cpp
diff --git
a/src/bin/lttng-sessiond/ust-app.cpp
b/src/bin/lttng-sessiond/ust-app.cpp
index bdc7d6d2065b66eba162f58e620166b706bc5668..c985fd8ac9ab5a0d36cb3a008366f788eb3fed2a 100644
(file)
--- a/
src/bin/lttng-sessiond/ust-app.cpp
+++ b/
src/bin/lttng-sessiond/ust-app.cpp
@@
-6192,11
+6192,9
@@
static void ust_app_synchronize(struct ltt_ust_session *usess, struct ust_app *a
ret = find_or_create_ust_app_session(usess, app, &ua_sess, nullptr);
if (ret < 0) {
/* Tracer is probably gone or ENOMEM. */
ret = find_or_create_ust_app_session(usess, app, &ua_sess, nullptr);
if (ret < 0) {
/* Tracer is probably gone or ENOMEM. */
- if (ua_sess) {
- destroy_app_session(app, ua_sess);
- }
goto end;
}
goto end;
}
+
LTTNG_ASSERT(ua_sess);
pthread_mutex_lock(&ua_sess->lock);
LTTNG_ASSERT(ua_sess);
pthread_mutex_lock(&ua_sess->lock);
@@
-6612,7
+6610,7
@@
static int handle_app_register_channel_notification(int sock,
goto reply;
}
}
goto reply;
}
}
- } catch (std::exception& ex) {
+ } catch (
const
std::exception& ex) {
ERR("Failed to handle application context: %s", ex.what());
ret_code = -EINVAL;
goto reply;
ERR("Failed to handle application context: %s", ex.what());
ret_code = -EINVAL;
goto reply;
@@
-6842,7
+6840,7
@@
static int add_enum_ust_registry(int sock,
application_reply_code = 0;
} catch (const std::exception& ex) {
ERR("%s: %s",
application_reply_code = 0;
} catch (const std::exception& ex) {
ERR("%s: %s",
-
fmt
::format(
+
lttng
::format(
"Failed to create or find enumeration provided by application: app = {}, enumeration name = {}",
*app,
name)
"Failed to create or find enumeration provided by application: app = {}, enumeration name = {}",
*app,
name)
This page took
0.023367 seconds
and
4
git commands to generate.