mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
libsysprof-capture: Use C-standard printf modifiers
Signed-off-by: Philip Withnall <withnall@endlessm.com> Helps: #40
This commit is contained in:
@ -79,7 +79,7 @@ SYSPROF_BEGIN_DECLS
|
|||||||
# define SYSPROF_ALIGNED_END(_N) __attribute__((aligned ((_N))))
|
# define SYSPROF_ALIGNED_END(_N) __attribute__((aligned ((_N))))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define SYSPROF_CAPTURE_ADDRESS_FORMAT "0x%016" G_GINT64_MODIFIER "x"
|
#define SYSPROF_CAPTURE_ADDRESS_FORMAT "0x%016" PRIx64
|
||||||
|
|
||||||
#if GLIB_SIZEOF_VOID_P == 8
|
#if GLIB_SIZEOF_VOID_P == 8
|
||||||
# define SYSPROF_CAPTURE_JITMAP_MARK SYSPROF_UINT64_CONSTANT(0xE000000000000000)
|
# define SYSPROF_CAPTURE_JITMAP_MARK SYSPROF_UINT64_CONSTANT(0xE000000000000000)
|
||||||
|
|||||||
Reference in New Issue
Block a user