summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorZqiang <qiang1.zhang@intel.com>2022-07-12 11:26:05 +0300
committerPaul E. McKenney <paulmck@kernel.org>2022-08-31 15:10:54 +0300
commitfcd53c8a4dfa38bafb89efdd0b0f718f3a03f884 (patch)
treeb73fd3e1a6f13feff359aa539c4300e2329f09eb /tools/perf/scripts/python/export-to-postgresql.py
parent568035b01cfb107af8d2e4bd2fb9aea22cf5b868 (diff)
downloadlinux-fcd53c8a4dfa38bafb89efdd0b0f718f3a03f884.tar.xz
rcu-tasks: Convert RCU_LOCKDEP_WARN() to WARN_ONCE()
Kernels built with CONFIG_PROVE_RCU=y and CONFIG_DEBUG_LOCK_ALLOC=y attempt to emit a warning when the synchronize_rcu_tasks_generic() function is called during early boot while the rcu_scheduler_active variable is RCU_SCHEDULER_INACTIVE. However the warnings is not actually be printed because the debug_lockdep_rcu_enabled() returns false, exactly because the rcu_scheduler_active variable is still equal to RCU_SCHEDULER_INACTIVE. This commit therefore replaces RCU_LOCKDEP_WARN() with WARN_ONCE() to force these warnings to actually be printed. Signed-off-by: Zqiang <qiang1.zhang@intel.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions