aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_out.c
diff options
context:
space:
mode:
authorChristian Borntraeger <[email protected]>2014-12-01 09:16:45 +0100
committerMartin Schwidefsky <[email protected]>2014-12-08 09:42:29 +0100
commit832a771034bf62444796ab8868264c3ea9e50866 (patch)
tree40f2a4daa8cb86927e77c07eaae2c06b8e885b73 /net/lapb/lapb_out.c
parented7d56e174b11b76e2954f28605c5c16f8814fab (diff)
s390/debug: avoid function call for debug_sprintf_*
debug_sprintf_event/exception are called even for debug events with a disabling debug level. All other functions already do the check in a wrapper function. Lets do the same here. Due to the var_args the compiler rejects to make this function inline. So let's wrap this via a macro. This patch saves around 80 ns on my z196 for a KVM round trip (we have two debug statements for entry and exit) when KVM is build as a module. The savings for built-in drivers is smaller as we then avoid the PLT overhead for a function call. Signed-off-by: Christian Borntraeger <[email protected]> Reviewed-by: Michael Holzheu <[email protected]> Reviewed-by: David Hildenbrand <[email protected]> Signed-off-by: Martin Schwidefsky <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions