aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorLevin, Alexander (Sasha Levin) <[email protected]>2017-06-18 14:06:01 +0000
committerIngo Molnar <[email protected]>2017-06-20 11:53:09 +0200
commitcde50a67397c0da7d11795d4b4418384022ab8e6 (patch)
tree53ea73734b565a50df7901dde2cecd2d86720f3d /tools/perf/util/scripting-engines/trace-event-python.c
parent018956d6419be3e5ff5aacc60b2a3cff585adee1 (diff)
locking/rtmutex: Don't initialize lockdep when not required
pi_mutex isn't supposed to be tracked by lockdep, but just passing NULLs for name and key will cause lockdep to spew a warning and die, which is not what we want it to do. Skip lockdep initialization if the caller passed NULLs for name and key, suggesting such initialization isn't desired. Signed-off-by: Sasha Levin <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Fixes: f5694788ad8d ("rt_mutex: Add lockdep annotations") Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions