diff options
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | 2014-04-08 20:09:40 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2014-04-08 20:45:34 -0400 |
commit | eb7d035c59431bb12e1aa6e69ddd3940352faddb (patch) | |
tree | a4e39481eade88644bae57261605cb393b75e451 /kernel/range.c | |
parent | de7b2973903c6cc50b31ee5682a69b2219b9919d (diff) |
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 <mathieu.desnoyers@efficios.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/range.c')
0 files changed, 0 insertions, 0 deletions