diff options
author | Joel Fernandes (Google) <[email protected]> | 2018-07-30 15:24:21 -0700 |
---|---|---|
committer | Steven Rostedt (VMware) <[email protected]> | 2018-07-30 19:06:54 -0400 |
commit | 01f38497c6f6525f57eb445887b9ed1867dbd05c (patch) | |
tree | e84efb5bb1a94cc08fd93778d042d38625c21da4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 6fc7c4110cbaff85b1f49fd70b77950384c3a201 (diff) |
lockdep: Use this_cpu_ptr instead of get_cpu_var stats
get_cpu_var disables preemption which has the potential to call into the
preemption disable trace points causing some complications. There's also
no need to disable preemption in uses of get_lock_stats anyway since
preempt is already disabled. So lets simplify the code.
Link: http://lkml.kernel.org/r/[email protected]
Suggested-by: Peter Zijlstra <[email protected]>
Acked-by: Peter Zijlstra <[email protected]>
Signed-off-by: Joel Fernandes (Google) <[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