mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
build: fix some 32-bit build issues
This commit is contained in:
@ -110,7 +110,7 @@ helpers_perf_event_open (GVariant *options,
|
|||||||
gint32 pid,
|
gint32 pid,
|
||||||
gint32 cpu,
|
gint32 cpu,
|
||||||
gint group_fd,
|
gint group_fd,
|
||||||
gulong flags,
|
guint64 flags,
|
||||||
gint *out_fd)
|
gint *out_fd)
|
||||||
{
|
{
|
||||||
#ifndef __linux__
|
#ifndef __linux__
|
||||||
|
|||||||
@ -342,9 +342,9 @@ sysprof_symbol_map_printf (SysprofSymbolMap *self)
|
|||||||
Element *ele = g_ptr_array_index (self->samples, i);
|
Element *ele = g_ptr_array_index (self->samples, i);
|
||||||
|
|
||||||
if (ele->tag)
|
if (ele->tag)
|
||||||
g_print ("%-5d: %p: %s [%s]\n", ele->pid, (gpointer)ele->addr, ele->name, g_quark_to_string (ele->tag));
|
g_print ("%-5d: %"G_GUINT64_FORMAT": %s [%s]\n", ele->pid, ele->addr, ele->name, g_quark_to_string (ele->tag));
|
||||||
else
|
else
|
||||||
g_print ("%-5d: %p: %s\n", ele->pid, (gpointer)ele->addr, ele->name);
|
g_print ("%-5d: %"G_GUINT64_FORMAT": %s\n", ele->pid, ele->addr, ele->name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user