diff options
author | 2010-10-13 19:06:14 -0400 | |
---|---|---|
committer | 2010-10-14 16:54:00 -0400 | |
commit | c28d5077f8d79bfce1e3f88db2e261cf2b6473dc (patch) | |
tree | c291f156e75beb02dfa5615a7040a549912dd8ba /kernel/trace | |
parent | ftrace/x86: Add support for C version of recordmcount (diff) | |
download | linux-c28d5077f8d79bfce1e3f88db2e261cf2b6473dc.tar.gz linux-c28d5077f8d79bfce1e3f88db2e261cf2b6473dc.tar.bz2 linux-c28d5077f8d79bfce1e3f88db2e261cf2b6473dc.zip |
ftrace: Remove duplicate code for 64 and 32 bit in recordmcount.c
The elf reader for recordmcount.c had duplicate functions for both
32 bit and 64 bit elf handling. This was due to the need of using
the 32 and 64 bit elf structures.
This patch consolidates the two by using macros to define the 32
and 64 bit names in a recordmcount.h file, and then by just defining
a RECORD_MCOUNT_64 macro and including recordmcount.h twice we
create the funtions for both the 32 bit version as well as the
64 bit version using one code source.
Cc: John Reiser <jreiser@bitwagon.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace')
0 files changed, 0 insertions, 0 deletions