commit | f0201738b61b1adcf6b2c4719c5c415745014c1c | [log] [tgz] |
---|---|---|
author | Steven Rostedt <srostedt@redhat.com> | Tue Apr 12 19:06:39 2011 -0400 |
committer | Steven Rostedt <rostedt@goodmis.org> | Mon May 16 14:46:30 2011 -0400 |
tree | c5a7c4b04693e459e22780f66d2d7e625d9d1243 | |
parent | 85356f802225fedeee8c3e65bdd93b263ace0a8b [diff] |
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>