diff --git a/src/stream.c b/src/stream.c index e90ac3525..5187eb9ee 100644 --- a/src/stream.c +++ b/src/stream.c @@ -3284,7 +3284,7 @@ static int stats_dump_full_strm_to_buffer(struct stconn *sc, struct stream *strm } chunk_appendf(&trash, - " task=%p (state=0x%02x nice=%d calls=%u rate=%u exp=%s tid=%d%s", + " task=%p (state=0x%02x nice=%d calls=%u rate=%u exp=%s tid=%d(%d/%d)%s", strm->task, strm->task->state, strm->task->nice, strm->task->calls, read_freq_ctr(&strm->call_rate), @@ -3293,6 +3293,8 @@ static int stats_dump_full_strm_to_buffer(struct stconn *sc, struct stream *strm human_time(TICKS_TO_MS(strm->task->expire - now_ms), TICKS_TO_MS(1000)) : "", strm->task->tid, + ha_thread_info[strm->task->tid].tgid, + ha_thread_info[strm->task->tid].ltid, task_in_rq(strm->task) ? ", running" : ""); chunk_appendf(&trash,