mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Fix linux tracing with long pids.
This commit is contained in:
parent
0fa1d25d98
commit
24cd73e366
@ -663,9 +663,10 @@ ssize_t getline(char **buf, size_t *bufsiz, FILE *fp)
|
|||||||
|
|
||||||
static void HandleTraceLine( const char* line )
|
static void HandleTraceLine( const char* line )
|
||||||
{
|
{
|
||||||
line += 24;
|
line += 23;
|
||||||
|
while( *line != '[' ) line++;
|
||||||
|
line++;
|
||||||
const auto cpu = (uint8_t)ReadNumber( line );
|
const auto cpu = (uint8_t)ReadNumber( line );
|
||||||
|
|
||||||
line++; // ']'
|
line++; // ']'
|
||||||
while( *line == ' ' ) line++;
|
while( *line == ' ' ) line++;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user