X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=ltt-sessiond%2Fmain.c;h=241a1cffd32533ee56f11299e7748b043b4a7da1;hb=7442b2ba0c15bf9c950b96a19e948243c2b57683;hp=2fd6222999faeaae1833e4acb8e53f0c79d2e1c1;hpb=b42dc92c1003cb5a1912cd86c59fbaa3544a3e10;p=lttng-tools.git diff --git a/ltt-sessiond/main.c b/ltt-sessiond/main.c index 2fd622299..241a1cffd 100644 --- a/ltt-sessiond/main.c +++ b/ltt-sessiond/main.c @@ -242,6 +242,7 @@ static int connect_app(pid_t pid) lta = find_app_by_pid(pid); if (lta == NULL) { /* App not found */ + DBG("Application pid %d not found", pid); return -1; } @@ -645,6 +646,7 @@ static int process_client_msg(int sock, struct lttcomm_session_msg *lsm) return ret; end: + DBG("Return code to client %d", ret); /* Notify client of error */ llm.ret_code = ret; llm.size_payload = 0;