summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2022-05-27 02:12:51 +0300
committerPaul E. McKenney <paulmck@kernel.org>2022-06-20 19:22:27 +0300
commit9ff86b4c443cc93bf3a9b624e3385e4114388e85 (patch)
treeabdd58db04c22386fdc60ae307915b3b9b0941ff /tools/perf/scripts/python/export-to-postgresql.py
parent550611269b153dc17b44fa2d692c30f628d1c65c (diff)
downloadlinux-9ff86b4c443cc93bf3a9b624e3385e4114388e85.tar.xz
rcu-tasks: Make trc_read_check_handler() fetch ->trc_reader_nesting only once
This commit replaces the pair of READ_ONCE(t->trc_reader_nesting) calls with a single such call and a local variable. This makes the code's intent more clear. Signed-off-by: Paul E. McKenney <paulmck@kernel.org> Cc: Neeraj Upadhyay <quic_neeraju@quicinc.com> Cc: Eric Dumazet <edumazet@google.com> Cc: Alexei Starovoitov <ast@kernel.org> Cc: Andrii Nakryiko <andrii@kernel.org> Cc: Martin KaFai Lau <kafai@fb.com> Cc: KP Singh <kpsingh@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions