From: José Fonseca Date: Sat, 27 Oct 2012 12:59:42 +0000 (+0100) Subject: Dump thread ids on retrace. X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=cb36d6b679915d452c80aa2dff78bb28cfbce41d;p=apitrace Dump thread ids on retrace. --- diff --git a/retrace/retrace.cpp b/retrace/retrace.cpp index b9f2ddf..ee876ca 100644 --- a/retrace/retrace.cpp +++ b/retrace/retrace.cpp @@ -40,6 +40,7 @@ static bool call_dumped = false; static void dumpCall(trace::Call &call) { if (verbosity >= 0 && !call_dumped) { + std::cout << std::hex << call.thread_id << std::dec << " "; std::cout << call; std::cout.flush(); call_dumped = true;