aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorPreethi Banala <[email protected]>2018-08-09 06:28:55 -0700
committerJeff Kirsher <[email protected]>2018-08-23 09:51:44 -0700
commitb29bc220e2c7bd494a4605defcd93b18d5a8cf86 (patch)
tree5de1d2dc249a68935f6688a1c00970d1139f98cd /tools/perf/scripts/python/call-graph-from-sql.py
parentf8ba7db850350319348b6d3c276f8ba19bc098ef (diff)
ice: Clean control queues only when they are initialized
Clean control queues only when they are initialized. One of the ways to validate if the basic initialization is done is by checking value of cq->sq.head and cq->rq.head variables that specify the register address. This patch adds a check to avoid NULL pointer dereference crash when tried to shutdown uninitialized control queue. Signed-off-by: Preethi Banala <[email protected]> Signed-off-by: Anirudh Venkataramanan <[email protected]> Tested-by: Tony Brelinski <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions