Improve parsing of kernel tracing data.

This commit is contained in:
Bartosz Taudul 2020-11-19 11:37:05 +01:00
parent 37c9a5807f
commit 119e357dbf

View File

@ -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 );