Home | History | Annotate | Download | only in platform_TraceClockMonotonic
      1 # Copyright (c) 2015 The Chromium OS Authors. All rights reserved.
      2 # Use of this source code is governed by a BSD-style license that can be
      3 # found in the LICENSE file.
      4 
      5 AUTHOR = "sonnyrao"
      6 DOC = """
      7 Checks for "mono" option in trace_clock and runs a binary that creates
      8 three entries using the trace_marker file to write directly into the trace
      9 and then processes the trace to make sure things are in the proper order.
     10 """
     11 NAME = "platform_TraceClockMonotonic"
     12 PURPOSE = """
     13 Ensure the the kernel properly supports monotonic timestamps for
     14 ftrace events
     15 """
     16 CRITERIA = """
     17 Fails if kernel doesn't support tracing or monotonic clock for ftrace events
     18 or the timestamps aren't in the proper order
     19 """
     20 ATTRIBUTES = "suite:bvt-perbuild"
     21 SUITE = "bvt-perbuild"
     22 TIME = "FAST"
     23 TEST_CATEGORY = "Functional"
     24 TEST_CLASS = "platform"
     25 TEST_TYPE = "client"
     26 
     27 job.run_test('platform_TraceClockMonotonic')
     28