diff options
author | 2011-04-12 19:06:39 -0400 | |
---|---|---|
committer | 2011-05-17 10:41:52 -0400 | |
commit | 5f9b93c39239507d2af03f79c8b0df9ebb9be768 (patch) | |
tree | 268541155d12f0a400f22c18ce93f2efd0335020 /drivers/i2c | |
parent | kbuild/recordmcount: Add RECORDMCOUNT_WARN to warn about mcount callers (diff) | |
download | wireguard-linux-5f9b93c39239507d2af03f79c8b0df9ebb9be768.tar.xz wireguard-linux-5f9b93c39239507d2af03f79c8b0df9ebb9be768.zip |
ftrace: Avoid recording mcount on .init sections directly
The init and exit sections should not be traced and adding a call to
mcount to them is a waste of text and instruction cache. Have the
macro section attributes include notrace to ignore these functions
for tracing from the build.
Link: http://lkml.kernel.org/r/20110421023738.953028219@goodmis.org
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'drivers/i2c')
0 files changed, 0 insertions, 0 deletions