bin/*py: honor editorconfig formatting
Replace the two stray tabs with respective space. Signed-off-by: Andres Gomez <agomez@igalia.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
This commit is contained in:
@@ -133,7 +133,7 @@ class PerfParser(LineParser):
|
|||||||
|
|
||||||
def __init__(self, infile, symbol):
|
def __init__(self, infile, symbol):
|
||||||
LineParser.__init__(self, infile)
|
LineParser.__init__(self, infile)
|
||||||
self.symbol = symbol
|
self.symbol = symbol
|
||||||
|
|
||||||
def readline(self):
|
def readline(self):
|
||||||
# Override LineParser.readline to ignore comment lines
|
# Override LineParser.readline to ignore comment lines
|
||||||
@@ -155,7 +155,7 @@ class PerfParser(LineParser):
|
|||||||
addresses.sort()
|
addresses.sort()
|
||||||
total_samples = 0
|
total_samples = 0
|
||||||
|
|
||||||
sys.stdout.write('%s:\n' % self.symbol)
|
sys.stdout.write('%s:\n' % self.symbol)
|
||||||
for address, instr in asm:
|
for address, instr in asm:
|
||||||
try:
|
try:
|
||||||
sample = samples.pop(address)
|
sample = samples.pop(address)
|
||||||
|
Reference in New Issue
Block a user