[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1279727429.4818.72.camel@gandalf.stny.rr.com>
Date: Wed, 21 Jul 2010 11:50:29 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Arnaldo Carvalho de Melo <acme@...radead.org>
Cc: Srikar Dronamraju <srikar@...ux.vnet.ibm.com>,
Christoph Hellwig <hch@...radead.org>,
Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...e.hu>,
Randy Dunlap <rdunlap@...otime.net>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Naren A Devaiah <naren.devaiah@...ibm.com>,
Ananth N Mavinakayanahalli <ananth@...ibm.com>,
Masami Hiramatsu <masami.hiramatsu.pt@...achi.com>,
Oleg Nesterov <oleg@...hat.com>,
Mark Wielaard <mjw@...hat.com>,
Mathieu Desnoyers <mathieu.desnoyers@...icios.com>,
LKML <linux-kernel@...r.kernel.org>,
Jim Keniston <jkenisto@...ux.vnet.ibm.com>,
Frederic Weisbecker <fweisbec@...il.com>,
"Frank Ch. Eigler" <fche@...hat.com>,
Andrew Morton <akpm@...ux-foundation.org>,
"Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>
Subject: Re: [PATCHv9 2.6.35-rc4-tip 0/13] Uprobes Patches:
On Wed, 2010-07-21 at 11:22 -0300, Arnaldo Carvalho de Melo wrote:
> Em Wed, Jul 21, 2010 at 08:12:00AM +0530, Srikar Dronamraju escreveu:
> I guess this is what he means:
>
> [acme@...pio linux-2.6-tip]$ grep ' [TtWw] .\+\.' /proc/kallsyms | head -5
> ffffffff81000646 t trace_kmalloc.clone.0
> ffffffff810006ac t create_dev.clone.0
> ffffffff81006ae4 t test_ti_thread_flag.clone.0
> ffffffff8100a388 t trace_power_start.clone.0
> ffffffff8100ad8d t user_regset_copyin.clone.0
> [acme@...pio linux-2.6-tip]$ readelf -s ../build/v2.6.35-rc5-tip+/vmlinux | grep ' FUNC .\+\.' | head -5
> 165: ffffffff81000646 101 FUNC LOCAL DEFAULT 1 trace_kmalloc.clone.0
> 180: ffffffff810006ac 44 FUNC LOCAL DEFAULT 1 create_dev.clone.0
> 438: ffffffff81006ae4 22 FUNC LOCAL DEFAULT 1 test_ti_thread_flag.clone
> 510: ffffffff81ae5c40 136 FUNC LOCAL DEFAULT 22 e820_end_pfn.clone.0
> 750: ffffffff8100a388 65 FUNC LOCAL DEFAULT 1 trace_power_start.clone.0
> [acme@...pio linux-2.6-tip]$
>
> Or at least those are the ones with dots here.
Note, in PPC64 the function names all start with dots. That is, a
function name is just a symbol look up to the actual function which is
referenced by a '.'.
sys_read: points to .sys_read
.sys_read: actual address of start of function.
-- Steve
--
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