From: Oleg Nesterov Date: Tue, 26 Nov 2013 00:35:25 +0000 (+0900) Subject: uprobes: Allocate ->utask before handler_chain() for tracing handlers X-Git-Tag: v3.14-rc1~133^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72fd293aa9ae8f4f48d6042be43fe81551c639f2;p=pandora-kernel.git uprobes: Allocate ->utask before handler_chain() for tracing handlers uprobe_trace_print() and uprobe_perf_print() need to pass the additional info to call_fetch() methods, currently there is no simple way to do this. current->utask looks like a natural place to hold this info, but we need to allocate it before handler_chain(). This is a bit unfortunate, perhaps we will find a better solution later, but this is simple and should work right now. Signed-off-by: Oleg Nesterov Acked-by: Masami Hiramatsu Acked-by: Oleg Nesterov Cc: Srikar Dronamraju Signed-off-by: Namhyung Kim --- Reading git-diff-tree failed