From: Steven Rostedt (Red Hat) Date: Wed, 9 Apr 2014 00:09:40 +0000 (-0400) Subject: tracepoint: Simplify tracepoint module search X-Git-Tag: v3.15-rc1~17^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb7d035c59431bb12e1aa6e69ddd3940352faddb;p=pandora-kernel.git tracepoint: Simplify tracepoint module search Instead of copying the num_tracepoints and tracepoints_ptrs from the module structure to the tp_mod structure, which only uses it to find the module associated to tracepoints of modules that are coming and going, simply copy the pointer to the module struct to the tracepoint tp_module structure. Also removed un-needed brackets around an if statement. Link: http://lkml.kernel.org/r/20140408201705.4dad2c4a@gandalf.local.home Acked-by: Mathieu Desnoyers Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed