diff options
author | Josh Poimboeuf <[email protected]> | 2018-02-20 11:37:52 -0600 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2018-02-21 16:54:06 +0100 |
commit | dc1dd184c2f0016bec35c0d7a48c057e0ad763d3 (patch) | |
tree | 43323dde05f7db864de96e8dfbaafc1397142268 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 33352244706369ea6736781ae41fe41692eb69bb (diff) |
jump_label: Warn on failed jump_label patching attempt
Currently when the jump label code encounters an address which isn't
recognized by kernel_text_address(), it just silently fails.
This can be dangerous because jump labels are used in a variety of
places, and are generally expected to work. Convert the silent failure
to a warning.
This won't warn about attempted writes to tracepoints in __init code
after initmem has been freed, as those are already guarded by the
entry->code check.
Signed-off-by: Josh Poimboeuf <[email protected]>
Acked-by: Peter Zijlstra <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Jason Baron <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/de3a271c93807adb7ed48f4e946b4f9156617680.1519051220.git.jpoimboe@redhat.com
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions