unplugged-system/external/chromium-trace/catapult/systrace/bin/systrace

17 lines
430 B
Python
Executable File

#!/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
_SYSTRACE_DIR = os.path.abspath(
os.path.join(os.path.dirname(__file__), os.path.pardir))
sys.path.insert(0, _SYSTRACE_DIR)
from systrace import run_systrace
if __name__ == '__main__':
sys.exit(run_systrace.main())