diff options
author | 2020-02-05 11:27:02 +0530 | |
---|---|---|
committer | 2020-02-05 17:14:37 -0500 | |
commit | fd0e6852c407dd9aefc594f54ddcc21d84803d3b (patch) | |
tree | 98e6675e33a4f279233def8e73fd07191a8474ab /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tracing: Annotate ftrace_graph_hash pointer with __rcu (diff) | |
download | wireguard-linux-fd0e6852c407dd9aefc594f54ddcc21d84803d3b.tar.xz wireguard-linux-fd0e6852c407dd9aefc594f54ddcc21d84803d3b.zip |
tracing: Annotate ftrace_graph_notrace_hash pointer with __rcu
Fix following instances of sparse error
kernel/trace/ftrace.c:5667:29: error: incompatible types in comparison
kernel/trace/ftrace.c:5813:21: error: incompatible types in comparison
kernel/trace/ftrace.c:5868:36: error: incompatible types in comparison
kernel/trace/ftrace.c:5870:25: error: incompatible types in comparison
Use rcu_dereference_protected to dereference the newly annotated pointer.
Link: http://lkml.kernel.org/r/20200205055701.30195-1-frextrite@gmail.com
Signed-off-by: Amol Grover <frextrite@gmail.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions