aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorAlex Elder <elder@inktank.com>2012-07-03 16:01:19 -0500
committerAlex Elder <elder@inktank.com>2012-10-01 14:30:54 -0500
commitb8b1e2db52de61f575981d0c23da785a7c5b4a77 (patch)
tree1aa02afb0ed4b99687e0674e430aed3615b5b2a0 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentrbd: get the snapshot context for a v2 image (diff)
downloadlinux-dev-b8b1e2db52de61f575981d0c23da785a7c5b4a77.tar.xz
linux-dev-b8b1e2db52de61f575981d0c23da785a7c5b4a77.zip
rbd: get snapshot name for a v2 image
Define rbd_dev_v2_snap_name() to fetch the name for a particular snapshot in a format 2 rbd image. Define rbd_dev_v2_snap_info() to to be a wrapper for getting the name, size, and features for a particular snapshot, using an interface that matches the equivalent function for version 1 images. Define rbd_dev_snap_info() wrapper function and use it to call the appropriate function for getting the snapshot name, size, and features, dependent on the rbd image format. Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions