summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2018-10-15 08:51:38 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2018-10-16 01:13:35 -0400
commit81b6ca6dbada186d0d41c67db8d8eb223a64a56f (patch)
treedff01edd6f5d3f8a9f1056175055532cc02574ac /tools/perf/scripts/python/call-graph-from-sql.py
parent80b045b385cfef10939c913fbfeb19ce5491c1f2 (diff)
scsi: target/core: Use sg_alloc_table() instead of open-coding it
The purpose of sg_alloc_table() is to allocate and initialize an sg-list. Use that function instead of open-coding it. This patch will make it easier to share code for caching sg-list allocations between the SCSI and NVMe target cores. Signed-off-by: Bart Van Assche <bvanassche@acm.org> Cc: Nicholas Bellinger <nab@linux-iscsi.org> Cc: Mike Christie <mchristi@redhat.com> Cc: Christoph Hellwig <hch@lst.de> Cc: Hannes Reinecke <hare@suse.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions