From: Namhyung Kim Date: Tue, 26 Nov 2013 05:56:28 +0000 (+0900) Subject: tracing/probes: Split [ku]probes_fetch_type_table X-Git-Tag: v3.14-rc1~133^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34fee3a104cea1c4b658e51836e4bcd99bd76c70;p=pandora-kernel.git tracing/probes: Split [ku]probes_fetch_type_table Use separate fetch_type_table for kprobes and uprobes. It currently shares all fetch methods but some of them will be implemented differently later. This is not to break build if [ku]probes is configured alone (like !CONFIG_KPROBE_EVENT and CONFIG_UPROBE_EVENT). So I added '__weak' to the table declaration so that it can be safely omitted when it configured out. Acked-by: Oleg Nesterov Acked-by: Masami Hiramatsu Cc: Srikar Dronamraju Cc: zhangwei(Jovi) Cc: Arnaldo Carvalho de Melo Signed-off-by: Namhyung Kim --- Reading git-diff-tree failed