summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>2014-05-06 16:26:39 -0400
committerSteven Rostedt <rostedt@goodmis.org>2014-05-14 11:37:28 -0400
commit94792ea07ce2cceef48803c4df3cb5efacb21c9a (patch)
tree43c681d6b6d99b9dac26f0ab71fc4c74f8155e2a /block
parent68f40969f0173c02ddc22a40df865c81c29070e4 (diff)
ftrace/x86: Get the current mcount addr for add_breakpoint()
The add_breakpoint() code in the ftrace updating gets the address of what the call will become, but if the mcount address is changing from regs to non-regs ftrace_caller or vice versa, it will use what the record currently is. This is rather silly as the code should always use what is currently there regardless of if it's changing the regs function or just converting to a nop. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions