summaryrefslogtreecommitdiffstats
path: root/src/gallium/tools/trace/parse.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/tools/trace/parse.py')
-rwxr-xr-xsrc/gallium/tools/trace/parse.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/tools/trace/parse.py b/src/gallium/tools/trace/parse.py
index d8dce2628ab..6a0d2fedb9d 100755
--- a/src/gallium/tools/trace/parse.py
+++ b/src/gallium/tools/trace/parse.py
@@ -352,9 +352,9 @@ class TraceParser(XmlParser):
class TraceDumper(TraceParser):
- def __init__(self, fp):
+ def __init__(self, fp, outStream = sys.stdout):
TraceParser.__init__(self, fp)
- self.formatter = format.DefaultFormatter(sys.stdout)
+ self.formatter = format.DefaultFormatter(outStream)
self.pretty_printer = PrettyPrinter(self.formatter)
def handle_call(self, call):