diff options
author | Masami Hiramatsu <mhiramat@kernel.org> | 2022-03-23 10:35:36 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2022-03-29 05:05:40 +0300 |
commit | 261608f3105ce65e9fd01919f72ead74dcb9f14d (patch) | |
tree | 3a4e4e6165115f3f3cc8923b07a697fe5b81b728 /tools/perf/scripts/python | |
parent | 9052e4e83762c40d89f6650fec161ad9001e93f3 (diff) | |
download | linux-261608f3105ce65e9fd01919f72ead74dcb9f14d.tar.xz |
fprobe: Fix sparse warning for acccessing __rcu ftrace_hash
Since ftrace_ops::local_hash::filter_hash field is an __rcu pointer,
we have to use rcu_access_pointer() to access it.
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/164802093635.1732982.4938094876018890866.stgit@devnote2
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions