All of lore.kernel.org
 help / color / mirror / Atom feed
From: Masami Hiramatsu <mhiramat@redhat.com>
To: Ulrich Drepper <drepper@redhat.com>
Cc: Ingo Molnar <mingo@elte.hu>, lkml <linux-kernel@vger.kernel.org>,
	systemtap <systemtap@sources.redhat.com>,
	DLE <dle-develop@lists.sourceforge.net>,
	Frederic Weisbecker <fweisbec@gmail.com>,
	Arnaldo Carvalho de Melo <acme@redhat.com>,
	Peter Zijlstra <peterz@infradead.org>,
	Paul Mackerras <paulus@samba.org>, Mike Galbraith <efault@gmx.de>,
	"K.Prasad" <prasad@linux.vnet.ibm.com>,
	Roland McGrath <roland@redhat.com>
Subject: Re: [PATCH -tip v2 5/9] perf probe: Use elfutils-libdw for analyzing debuginfo
Date: Mon, 22 Feb 2010 18:18:49 -0500	[thread overview]
Message-ID: <4B8310D9.4080104@redhat.com> (raw)
In-Reply-To: <4B830F82.70808@redhat.com>

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@redhat.com

  reply	other threads:[~2010-02-22 23:19 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-22 22:53 [PATCH -tip v2 0/9] perf-probe updates - use elfutils and introduce lazy matching Masami Hiramatsu
2010-02-22 22:53 ` [PATCH -tip v2 1/9] perf probe: Do not show --line option without dwarf support Masami Hiramatsu
2010-02-22 22:53 ` [PATCH -tip v2 2/9] perf probe: Update perf probe document Masami Hiramatsu
2010-02-22 22:53 ` [PATCH -tip v2 3/9] perf probe: Fix bugs in line range finder Masami Hiramatsu
2010-02-22 22:53 ` [PATCH -tip v2 4/9] perf probe: Rename probe finder functions Masami Hiramatsu
2010-02-22 22:53 ` [PATCH -tip v2 5/9] perf probe: Use elfutils-libdw for analyzing debuginfo Masami Hiramatsu
2010-02-22 23:08   ` Ulrich Drepper
2010-02-22 23:13     ` Masami Hiramatsu
2010-02-22 23:18       ` Masami Hiramatsu [this message]
2010-02-22 23:20         ` Ulrich Drepper
2010-02-22 23:18       ` Ulrich Drepper
2010-02-22 22:54 ` [PATCH -tip v2 6/9] perf probe: Use libdw callback routines Masami Hiramatsu
2010-02-22 22:54 ` [PATCH -tip v2 7/9] perf probe: Check function address range strictly in line finder Masami Hiramatsu
2010-02-22 22:54 ` [PATCH -tip v2 8/9] perf probe: show more lines after last line Masami Hiramatsu
2010-02-22 22:54 ` [PATCH -tip v2 9/9] perf probe: Add lazy line matching support Masami Hiramatsu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B8310D9.4080104@redhat.com \
    --to=mhiramat@redhat.com \
    --cc=acme@redhat.com \
    --cc=dle-develop@lists.sourceforge.net \
    --cc=drepper@redhat.com \
    --cc=efault@gmx.de \
    --cc=fweisbec@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=paulus@samba.org \
    --cc=peterz@infradead.org \
    --cc=prasad@linux.vnet.ibm.com \
    --cc=roland@redhat.com \
    --cc=systemtap@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.