Merge branch 'gbsneto/collector-pid-id' into 'master'

libsysprof-capture: Set initial counter id to pid

See merge request GNOME/sysprof!111
This commit is contained in:
Georges Basile Stavracas Neto
2024-11-15 09:36:52 +00:00

View File

@ -424,7 +424,7 @@ sysprof_collector_get (void)
#else
self->tid = self->pid;
#endif
self->next_counter_id = 1;
self->next_counter_id = (self->pid << 16);
pthread_mutex_lock (&control_fd_lock);