From: Oleg Nesterov Date: Thu, 31 Jan 2013 18:55:27 +0000 (+0100) Subject: uprobes/perf: Always increment trace_uprobe->nhit X-Git-Tag: v3.9-rc1~173^2~2^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b47aefd9b6bd439a4be43c47acd22987ac22db8;p=pandora-kernel.git uprobes/perf: Always increment trace_uprobe->nhit Move tu->nhit++ from uprobe_trace_func() to uprobe_dispatcher(). ->nhit counts how many time we hit the breakpoint inserted by this uprobe, we do not want to loose this info if uprobe was enabled by sys_perf_event_open(). Signed-off-by: Oleg Nesterov Acked-by: Srikar Dronamraju --- Reading git-diff-tree failed