diff options
author | Steven Rostedt (Google) <[email protected]> | 2022-07-26 10:18:51 -0400 |
---|---|---|
committer | Steven Rostedt (Google) <[email protected]> | 2022-07-30 13:59:36 -0400 |
commit | ac6c1b2ca77e722a1e5d651f12f437f2f237e658 (patch) | |
tree | 92028222c60bf8437646e243d345f31e4a8acddf /scripts/gdb/linux/mm.py | |
parent | 3a2dcbaf4d31023106975d6ae75b6df080c454cb (diff) |
ftrace/x86: Add back ftrace_expected assignment
When a ftrace_bug happens (where ftrace fails to modify a location) it is
helpful to have what was at that location as well as what was expected to
be there.
But with the conversion to text_poke() the variable that assigns the
expected for debugging was dropped. Unfortunately, I noticed this when I
needed it. Add it back.
Link: https://lkml.kernel.org/r/[email protected]
Cc: "[email protected]" <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: [email protected]
Fixes: 768ae4406a5c ("x86/ftrace: Use text_poke()")
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/mm.py')
0 files changed, 0 insertions, 0 deletions