aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorSteven Rostedt <[email protected]>2011-04-12 18:53:25 -0400
committerSteven Rostedt <[email protected]>2011-05-17 10:41:45 -0400
commit06fd6f6301cce9af4a03dd9e40bfca167e931ff1 (patch)
tree0735cb68a84c3dd93db650a08565393f946e3ba6 /lib/mpi/mpiutil.c
parent68eb1d2e5370c6da4c871c80fdccbe315dc2f3c1 (diff)
ftrace/recordmcount: Add warning logic to warn on mcount not recorded
There's some sections that should not have mcount recorded and should not have modifications to the that code. But currently they waste some time by calling mcount anyway (which simply returns). As the real answer should be to either whitelist the section or have gcc ignore it fully. This change adds a option to recordmcount to warn when it finds a section that is ignored by ftrace but still contains mcount callers. This is not on by default as developers may not know if the section should be completely ignored or added to the whitelist. Cc: John Reiser <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions