lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4B8310D9.4080104@redhat.com>
Date:	Mon, 22 Feb 2010 18:18:49 -0500
From:	Masami Hiramatsu <mhiramat@...hat.com>
To:	Ulrich Drepper <drepper@...hat.com>
CC:	Ingo Molnar <mingo@...e.hu>, lkml <linux-kernel@...r.kernel.org>,
	systemtap <systemtap@...rces.redhat.com>,
	DLE <dle-develop@...ts.sourceforge.net>,
	Frederic Weisbecker <fweisbec@...il.com>,
	Arnaldo Carvalho de Melo <acme@...hat.com>,
	Peter Zijlstra <peterz@...radead.org>,
	Paul Mackerras <paulus@...ba.org>,
	Mike Galbraith <efault@....de>,
	"K.Prasad" <prasad@...ux.vnet.ibm.com>,
	Roland McGrath <roland@...hat.com>
Subject: Re: [PATCH -tip v2 5/9] perf probe: Use elfutils-libdw for analyzing
 debuginfo

Masami Hiramatsu wrote:
> 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?

Ah, would you mean 'j' prefix? like as 'printf("%jx", (uintmax_t)Addr);' ?

> 
> Thank you,
> 

-- 
Masami Hiramatsu
e-mail: mhiramat@...hat.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ