Adjust spec file to work with btrfs-progs v4.16.1
[platform/upstream/btrfs-progs.git] / show-blocks
index 0164be9..3876b2a 100755 (executable)
@@ -108,7 +108,7 @@ def loaddata(fh,delimiter=None, converters=None):
     return X
 
 def run_debug_tree(device):
-    p = os.popen('btrfs-debug-tree -e ' + device)
+    p = os.popen('btrfs inspect-internal dump-tree -e ' + device)
     data = loaddata(p)
     return data
 
@@ -224,7 +224,7 @@ elif options.input_file:
 shapeit(data)
 
 # try to drop out the least common data points by creating
-# a historgram of the sectors seen.
+# a histogram of the sectors seen.
 sectors = data[:,0]
 sizes = data[:,1]
 datalen = len(data)
@@ -237,7 +237,7 @@ bytes_per_cell = byte_range / total_cells
 
 f = figure(figsize=(8,6))
 
-# Throughput goes at the botoom
+# Throughput goes at the bottom
 a = subplot(1, 1, 1)
 subplots_adjust(right=0.7)
 datai = 0