spirv: Delete some dead workgroup variable handling code
[mesa.git] / bin / perf-annotate-jit.py
index 746434008fd92dbfb32286930680da4e780ac7b6..28bbc59b600342e6e568be52a66044501668680e 100755 (executable)
@@ -28,7 +28,7 @@ Linux `perf annotate` does not work with JIT code.  This script takes the data
 produced by `perf script` command, plus the diassemblies outputed by gallivm
 into /tmp/perf-XXXXX.map.asm and produces output similar to `perf annotate`.
 
-See docs/llvmpipe.html for usage instructions.
+See docs/llvmpipe.rst for usage instructions.
 
 The `perf script` output parser was derived from the gprof2dot.py script.
 """
@@ -133,7 +133,7 @@ class PerfParser(LineParser):
 
     def __init__(self, infile, symbol):
         LineParser.__init__(self, infile)
-       self.symbol = symbol
+        self.symbol = symbol
 
     def readline(self):
         # Override LineParser.readline to ignore comment lines
@@ -155,7 +155,7 @@ class PerfParser(LineParser):
         addresses.sort()
         total_samples = 0
 
-       sys.stdout.write('%s:\n' % self.symbol)
+        sys.stdout.write('%s:\n' % self.symbol)
         for address, instr in asm:
             try:
                 sample = samples.pop(address)