]> git.karo-electronics.de Git - karo-tx-linux.git/commit
tracing/probes: Add fetch{,_size} member into deref fetch method
authorHyeoncheol Lee <cheol.lee@lge.com>
Mon, 1 Jul 2013 04:44:32 +0000 (13:44 +0900)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 2 Jan 2014 21:17:42 +0000 (16:17 -0500)
commit3925f4a5afa489e905a08edffc36a435a3434a63
tree00fbb091d8fdf2737cd2430f10606db52353d8e7
parent1301a44e77557e928700f91c7083c5770054c212
tracing/probes: Add fetch{,_size} member into deref fetch method

The deref fetch methods access a memory region but it assumes that
it's a kernel memory since uprobes does not support them.

Add ->fetch and ->fetch_size member in order to provide a proper
access methods for supporting uprobes.

Acked-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Acked-by: Oleg Nesterov <oleg@redhat.com>
Cc: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Cc: zhangwei(Jovi) <jovi.zhangwei@huawei.com>
Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Signed-off-by: Hyeoncheol Lee <cheol.lee@lge.com>
[namhyung@kernel.org: Split original patch into pieces as requested]
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
kernel/trace/trace_probe.c