aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorFilipe Brandenburger <[email protected]>2014-02-28 21:32:17 -0800
committerSteven Rostedt <[email protected]>2014-03-07 10:06:11 -0500
commit114e7b52dee69ce47dd55b8e520e0a48ba7cdae3 (patch)
treed7ac31acb21d9427f0bbf87cd9b17c41b8df370b /lib/mpi/mpi-cmp.c
parent5859fa1a146ef5bf79953767f4ceb546fe4214b3 (diff)
tracing: Evaluate len expression only once in __dynamic_array macro
Use a temporary variable to store the expansion of the len expression. If the evaluation is expensive, this commit will ensure it is evaluated only once inside ftrace_get_offsets_<call>. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Filipe Brandenburger <[email protected]> Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions