aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorDharageswari.R <[email protected]>2016-02-03 17:59:47 +0530
committerMark Brown <[email protected]>2016-02-04 11:36:14 +0000
commit9ba8ffef9635c11102bc42d0f2d0a4213de273d5 (patch)
treeae8aef06cfb9e4351a7d6dad5e8a6c079cfa4c74 /tools/perf/scripts/python/event_analyzing_sample.py
parent7ca42f5ac5e0d8011086bcfa00e85aede42f0b78 (diff)
ASoC: Intel: Skylake: Fix pipe memory allocation leak
We check and allocate pipeline resources in one shot. That causes leaks if module creation fails later as that is not freed. So split the resource allocation into two, first check if resources are available and then add the resources upon successful creation. So two new functions are added for checking and current functions are re-purposed to only add the resources for memory and MCPS. Signed-off-by: Dharageswari.R <[email protected]> Signed-off-by: Vinod Koul <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions