blob: 48266966596694d8628d900afaf0a3c20081f9e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/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_perf_insights = os.path.join(path_to_catapult, 'perf_insights')
path_to_trace_processor = os.path.join(path_to_catapult, 'trace_processor')
sys.path.append(path_to_tracing)
sys.path.append(path_to_perf_insights)
sys.path.append(path_to_trace_processor)
from trace_processor import process_traces
sys.exit(process_traces.Main())
|