aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorWaiman Long <[email protected]>2019-05-20 10:14:50 -0400
committerThomas Gleixner <[email protected]>2019-06-14 14:51:16 +0200
commitd5f34153e526903abe71869dbbc898bfc0f69373 (patch)
treed40ebb04fb282564a99b766956893d85cb72c0e4 /tools/perf/scripts/python/export-to-sqlite.py
parenta7344a68a79ab91bc38af4b9d24284b479aa780a (diff)
debugobjects: Move printk out of db->lock critical sections
The db->lock is a raw spinlock and so the lock hold time is supposed to be short. This will not be the case when printk() is being involved in some of the critical sections. In order to avoid the long hold time, in case some messages need to be printed, the debug_object_is_on_stack() and debug_print_object() calls are now moved out of those critical sections. Signed-off-by: Waiman Long <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Cc: Andrew Morton <[email protected]> Cc: Yang Shi <[email protected]> Cc: "Joel Fernandes (Google)" <[email protected]> Cc: Qian Cai <[email protected]> Cc: Zhong Jiang <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions