aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJulian Wiedmann <jwi@linux.ibm.com>2020-12-09 11:24:13 +0100
committerVasily Gorbik <gor@linux.ibm.com>2021-01-19 12:29:26 +0100
commit4520a91a976e3f5e74d3d27ccc66a7a669826373 (patch)
tree47638b29fdd6b339cbd92654ed2be4f65bad0791 /tools/perf/scripts/python/stackcollapse.py
parents390/cio: remove ccw_device_add() wrapper (diff)
downloadlinux-4520a91a976e3f5e74d3d27ccc66a7a669826373.tar.gz
linux-4520a91a976e3f5e74d3d27ccc66a7a669826373.zip
s390/cio: use dma helpers for setting masks
Bypassing the DMA API is bad style, even when we don't expect any actual problems. Let's utilize the right API helpers for setting the DMA masks and check for returned errors, so that we benefit from common sanity checks. io_subchannel_allocate_dev() required some extra massaging, so that we can return an errno other than -ENOMEM. Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com> Reviewed-by: Halil Pasic <pasic@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions