# Copyright 2015 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.

from __future__ import print_function
# TODO(https://crbug.com/1262296): Update this after Python2 trybots retire.
# pylint: disable=deprecated-module
import optparse
import os
import py_utils

from systrace import trace_result
from systrace import tracing_agents

# TODO(https://crbug.com/1262296): Update this after Python2 trybots retire.
# pylint: disable=useless-object-inheritance
class FtraceAgentIo(object):
  @staticmethod
  def writeFile(path, data):