• R
    ARM: 6318/1: ftrace: fix and update dynamic ftrace · 3b6c223b
    Rabin Vincent 提交于
    This adds mcount recording and updates dynamic ftrace for ARM to work
    with the new ftrace dyamic tracing implementation.  It also adds support
    for the mcount format used by newer ARM compilers.
    
    With dynamic tracing, mcount() is implemented as a nop.  Callsites are
    patched on startup with nops, and dynamically patched to call to the
    ftrace_caller() routine as needed.
    
    Acked-by: Steven Rostedt <rostedt@goodmis.org> [recordmcount.pl change]
    Signed-off-by: NRabin Vincent <rabin@rab.in>
    Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
    3b6c223b
recordmcount.pl 17.3 KB