mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
libsysprof: use private helper for getpagesize()
This commit is contained in:
@ -45,6 +45,8 @@
|
|||||||
|
|
||||||
#include "../stackstash.h"
|
#include "../stackstash.h"
|
||||||
|
|
||||||
|
#include "sysprof-capture-util-private.h"
|
||||||
|
|
||||||
#include "sysprof-callgraph-profile.h"
|
#include "sysprof-callgraph-profile.h"
|
||||||
#include "sysprof-capture-reader.h"
|
#include "sysprof-capture-reader.h"
|
||||||
#include "sysprof-capture-symbol-resolver.h"
|
#include "sysprof-capture-symbol-resolver.h"
|
||||||
@ -174,7 +176,7 @@ sysprof_callgraph_profile_class_init (SysprofCallgraphProfileClass *klass)
|
|||||||
static void
|
static void
|
||||||
sysprof_callgraph_profile_init (SysprofCallgraphProfile *self)
|
sysprof_callgraph_profile_init (SysprofCallgraphProfile *self)
|
||||||
{
|
{
|
||||||
self->symbols = g_string_chunk_new (getpagesize ());
|
self->symbols = g_string_chunk_new (_sysprof_getpagesize ());
|
||||||
self->tags = g_hash_table_new (g_str_hash, g_str_equal);
|
self->tags = g_hash_table_new (g_str_hash, g_str_equal);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user