mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-capture: Use SYSPROF_N_ELEMENTS macro instead of G_N_ELEMENTS
It does the same thing. Signed-off-by: Philip Withnall <withnall@endlessm.com> Helps: #40
This commit is contained in:
@ -80,7 +80,7 @@ sysprof_clock_init (void)
|
||||
if (sysprof_clock != -1)
|
||||
return;
|
||||
|
||||
for (unsigned int i = 0; i < G_N_ELEMENTS (clock_ids); i++)
|
||||
for (unsigned int i = 0; i < SYSPROF_N_ELEMENTS (clock_ids); i++)
|
||||
{
|
||||
struct timespec ts;
|
||||
int clock_id = clock_ids [i];
|
||||
|
||||
Reference in New Issue
Block a user