aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorHeiko Carstens <[email protected]>2016-02-10 14:13:24 +0100
committerMartin Schwidefsky <[email protected]>2016-02-11 13:05:56 +0100
commitf6c9b160233f9b5afe926b91b55589b706076640 (patch)
tree7fe708f6f676a02294012a59ef4e7c4f0dab5afc /tools/perf/scripts/python/call-graph-from-postgresql.py
parent9d862ababb609439c5d6987f6d3ddd09e703aa0b (diff)
s390/diag: avoid lockdep recursion
The diagnose tracer will indirectly call back into the lockdep code when lockdep does not expect it (arch_spinlock). This causes lockdep to disable itself and therefore we don't have a working lock dependency validator anymore. This patch effectively disables tracing of diag 0x9c and 0x44 if lockdep is enabled. If however lockdep is enabled spinlocks are mainly implemented using a trylock variant, which will not issue any diag 0x9c or 0x44. So this change has hardly any effect on tracing except when arch_spinlock and friends are explicitly used. Reported-and-Tested-by: David Hildenbrand <[email protected]> Signed-off-by: Heiko Carstens <[email protected]> Reviewed-by: David Hildenbrand <[email protected]> Acked-by: Martin Schwidefsky <[email protected]> Signed-off-by: Martin Schwidefsky <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions