Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions src/fastrpc_apps_user.c
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@ typedef struct fastrpc_timer_info {
int domain;
int sc;
int handle;
pid_t tid;
} fastrpc_timer;

// Macro to check if a remote session is already open on given domain
Expand Down Expand Up @@ -1086,9 +1087,9 @@ static void fastrpc_timer_callback(void *ptr) {
}

FARF(ALWAYS,
"%s fastrpc time out of %d ms on domain %d sc 0x%x handle 0x%x\n",
__func__, frpc_timer->timeout_millis, frpc_timer->domain, frpc_timer->sc,
frpc_timer->handle);
"%s fastrpc time out of %d ms on thread %d on domain %d sc 0x%x handle 0x%x\n",
__func__, frpc_timer->timeout_millis, frpc_timer->tid,
frpc_timer->domain, frpc_timer->sc, frpc_timer->handle);
data.domain = frpc_timer->domain;
nErr = remote_session_control(FASTRPC_REMOTE_PROCESS_EXCEPTION, &data,
sizeof(remote_rpc_process_exception));
Expand Down Expand Up @@ -1325,6 +1326,7 @@ int remote_handle_invoke_domain(int domain, remote_handle handle,
frpc_timer.sc = sc;
frpc_timer.handle = handle;
frpc_timer.timeout_millis = rpc_timeout;
frpc_timer.tid = gettid();
fastrpc_add_timer(&frpc_timer);
}
}
Expand Down
Loading