lkml.org 
[lkml]   [2010]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH -tip v2 5/9] perf probe: Use elfutils-libdw for analyzing debuginfo
Ulrich Drepper wrote:
> 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).

Hmm, I'm not sure about that. Could you point somewhere I can refer that?

Thank you,

--
Masami Hiramatsu
e-mail: mhiramat@redhat.com


\
 
 \ /
  Last update: 2010-02-23 00:15    [W:0.109 / U:0.904 seconds]
©2003-2014 Jasper Spaans. Advertise on this site