| #!/usr/bin/env python |
| # Copyright 2016 The Chromium Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| import os |
| import sys |
| |
| |
| if __name__ == '__main__': |
| path_to_catapult = os.path.join(os.path.dirname(__file__), '..', '..') |
| path_to_tracing = os.path.join(path_to_catapult, 'tracing') |
| path_to_trace_processor = os.path.join(path_to_catapult, 'trace_processor') |
| |
| sys.path.append(path_to_tracing) |
| sys.path.append(path_to_trace_processor) |
| |
| from trace_processor import process_traces |
| sys.exit(process_traces.Main()) |