mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
Merge branch 'gbsneto/sysprof-initial-counter-id' into 'master'
libsysprof-capture: Cut off first 8 bytes of initial counter id See merge request GNOME/sysprof!134
This commit is contained in:
@ -424,7 +424,7 @@ sysprof_collector_get (void)
|
||||
#else
|
||||
self->tid = self->pid;
|
||||
#endif
|
||||
self->next_counter_id = ((unsigned)self->pid << 16);
|
||||
self->next_counter_id = (((unsigned)self->pid << 16) >> 8);
|
||||
|
||||
pthread_mutex_lock (&control_fd_lock);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user