[sysprof] libsysprof: use private helper for getpagesize()
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof] libsysprof: use private helper for getpagesize()
- Date: Mon, 16 Nov 2020 22:13:44 +0000 (UTC)
commit a8f61d013b5a291294ef9cdb23f0010841e93f03
Author: Christian Hergert <chergert redhat com>
Date: Mon Nov 16 14:14:16 2020 -0800
libsysprof: use private helper for getpagesize()
src/libsysprof/sysprof-callgraph-profile.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/src/libsysprof/sysprof-callgraph-profile.c b/src/libsysprof/sysprof-callgraph-profile.c
index 1e146d9..2991202 100644
--- a/src/libsysprof/sysprof-callgraph-profile.c
+++ b/src/libsysprof/sysprof-callgraph-profile.c
@@ -45,6 +45,8 @@
#include "../stackstash.h"
+#include "sysprof-capture-util-private.h"
+
#include "sysprof-callgraph-profile.h"
#include "sysprof-capture-reader.h"
#include "sysprof-capture-symbol-resolver.h"
@@ -174,7 +176,7 @@ sysprof_callgraph_profile_class_init (SysprofCallgraphProfileClass *klass)
static void
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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]