From 119e357dbf5f430876d1d39bf105da16d802a173 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Thu, 19 Nov 2020 11:37:05 +0100 Subject: [PATCH] Improve parsing of kernel tracing data. --- client/TracySysTrace.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/TracySysTrace.cpp b/client/TracySysTrace.cpp index d89a9b54..004e39c8 100644 --- a/client/TracySysTrace.cpp +++ b/client/TracySysTrace.cpp @@ -1085,7 +1085,7 @@ static void HandleTraceLine( const char* line ) { line += 14; - while( memcmp( line, "pid", 3 ) != 0 ) line++; + while( memcmp( line, "pid=", 4 ) != 0 ) line++; line += 4; const auto pid = ReadNumber( line );