Re: [PATCH -tip v2 5/9] perf probe: Use elfutils-libdw for analyzingdebuginfo

From: Ulrich Drepper
Date: Mon Feb 22 2010 - 18:09:20 EST


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 02/22/2010 02:53 PM, Masami Hiramatsu wrote:
> - Cast Dwarf_Addr/Dwarf_Word to unsigned long long for printf-formats.

I don't know about the use of C99 types in kernel files. But can you
use uintmax_t and then PRI[douxX]MAX in printf? It'd be more correct
and it exists in glibc for a very long time (1997).

- --
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkuDDm8ACgkQ2ijCOnn/RHSgWgCgzAPisFeULRv2wf3CErg+udEN
RIoAn1yiLcPen4yz4PkQuYW3Oq+39C4Z
=+rnc
-----END PGP SIGNATURE-----
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/