diff options
| author | Filipe Brandenburger <[email protected]> | 2014-02-28 21:32:17 -0800 |
|---|---|---|
| committer | Steven Rostedt <[email protected]> | 2014-03-07 10:06:11 -0500 |
| commit | 114e7b52dee69ce47dd55b8e520e0a48ba7cdae3 (patch) | |
| tree | d7ac31acb21d9427f0bbf87cd9b17c41b8df370b /scripts/objdiff | |
| parent | 5859fa1a146ef5bf79953767f4ceb546fe4214b3 (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 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions