aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSteven Rostedt (VMware) <[email protected]>2019-06-27 21:18:19 -0400
committerSteven Rostedt (VMware) <[email protected]>2019-06-28 14:21:25 -0400
commit39611265edc1af3d574178202e19c31e187e7cf2 (patch)
tree5a2fb0590d8da026037129d73500754edceedbc8 /tools/perf/scripts/python/export-to-postgresql.py
parentd5b844a2cf507fc7642c9ae80a9d585db3065c28 (diff)
ftrace/x86: Add a comment to why we take text_mutex in ftrace_arch_code_modify_prepare()
Taking the text_mutex in ftrace_arch_code_modify_prepare() is to fix a race against module loading and live kernel patching that might try to change the text permissions while ftrace has it as read/write. This really needs to be documented in the code. Add a comment that does such. Link: http://lkml.kernel.org/r/[email protected] Suggested-by: Josh Poimboeuf <[email protected]> Reviewed-by: Josh Poimboeuf <[email protected]> Reviewed-by: Petr Mladek <[email protected]> Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions