/* Create session on the tracer side and add it to app session HT */
ua_sess = create_ust_app_session(usess, app);
/* Create session on the tracer side and add it to app session HT */
ua_sess = create_ust_app_session(usess, app);
/* Create session on the tracer side and add it to app session HT */
ua_sess = create_ust_app_session(usess, app);
/* Create session on the tracer side and add it to app session HT */
ua_sess = create_ust_app_session(usess, app);
ua_sess = lookup_session_by_app(usess, app);
if (ua_sess == NULL) {
/* Only malloc can failed so something is really wrong */
ua_sess = lookup_session_by_app(usess, app);
if (ua_sess == NULL) {
/* Only malloc can failed so something is really wrong */
/* Setup UST consumer socket and send fds to it */
ret = ust_consumer_send_session(usess->consumer_fd, ua_sess);
if (ret < 0) {
/* Setup UST consumer socket and send fds to it */
ret = ust_consumer_send_session(usess->consumer_fd, ua_sess);
if (ret < 0) {
}
/* This start the UST tracing */
ret = ustctl_start_session(app->key.sock, ua_sess->handle);
if (ret < 0) {
ERR("Error starting tracing for app pid: %d", app->key.pid);
}
/* This start the UST tracing */
ret = ustctl_start_session(app->key.sock, ua_sess->handle);
if (ret < 0) {
ERR("Error starting tracing for app pid: %d", app->key.pid);