tracing/probes: Integrate duplicate set_print_fmt()
authorNamhyung Kim <namhyung.kim@lge.com>
Wed, 3 Jul 2013 07:09:02 +0000 (16:09 +0900)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 2 Jan 2014 21:17:38 +0000 (16:17 -0500)
commit5bf652aaf46ca6ae477ea0d162e68d577cf244aa
treeab1210b0008678995f0d6bf5b8da1bf0dccd0c14
parent2dc1018372c3b1db1410c7087de7866d4cad8cc3
tracing/probes: Integrate duplicate set_print_fmt()

The set_print_fmt() functions are implemented almost same for
[ku]probes.  Move it to a common place and get rid of the duplication.

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: Namhyung Kim <namhyung@kernel.org>
kernel/trace/trace_kprobe.c
kernel/trace/trace_probe.c
kernel/trace/trace_probe.h
kernel/trace/trace_uprobe.c