]> git.baikalelectronics.ru Git - kernel.git/commit
perf probe: Fix to copy the type for raw parameters
authorMasami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Tue, 3 Aug 2010 02:11:36 +0000 (11:11 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 6 Aug 2010 19:25:56 +0000 (16:25 -0300)
commitc16d250b70fd12854e6ccba8211a8749539ff5a2
tree198f99b3f7260e30029146618fc80b019100766b
parent16beba8473020ce0f5644e2e2ee5e67bdf09174f
perf probe: Fix to copy the type for raw parameters

Copy type field if it is for raw parameters.
Without this fix, perf probe drops the type if user passes it
for raw parameters (e.g. %ax:u32 will be converted to %ax).

Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
LKML-Reference: <4C577AD8.50808@hitachi.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/probe-finder.c