aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorZhu Lingshan <[email protected]>2021-08-12 11:24:53 +0800
committerMichael S. Tsirkin <[email protected]>2021-09-05 16:23:07 -0400
commit30326f9577342aac257ed9c036608de666b06389 (patch)
tree5b4eef076733b3a08c0f7dda09491b774d7dfda3 /tools/perf/scripts/python/flamegraph.py
parent7d2a07b769330c34b4deabeed939325c77a7ec2f (diff)
vDPA/ifcvf: introduce get_dev_type() which returns virtio dev id
This commit introduces a new function get_dev_type() which returns the virtio device id of a device, to avoid duplicated code. Signed-off-by: Zhu Lingshan <[email protected]> Acked-by: Jason Wang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions