1 #!/usr/bin/env python 2 # Copyright 2016 The Chromium Authors. All rights reserved. 3 # Use of this source code is governed by a BSD-style license that can be 4 # found in the LICENSE file. 5 import os 6 import sys 7 8 9 if __name__ == '__main__': 10 path_to_catapult = os.path.join(os.path.dirname(__file__), '..', '..') 11 path_to_tracing = os.path.join(path_to_catapult, 'tracing') 12 path_to_trace_processor = os.path.join(path_to_catapult, 'trace_processor') 13 14 sys.path.append(path_to_tracing) 15 sys.path.append(path_to_trace_processor) 16 17 from trace_processor import process_traces 18 sys.exit(process_traces.Main()) 19