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.
"""
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
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)