| # Copyright (c) 2012 The Chromium OS Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| description "Chromium OS debug daemon trace_marker helper" |
| author "chromium-os-dev@chromium.org" |
| |
| # This lets us log trace events to the kernel trace buffer on test images |
| # where non-Chrome libraries can do logging to the trace_marker file. |
| # We need this to integrate third-party tracing into combined Chrome |
| # and system traces. |
| |
| #for_test start on starting debugd |
| stop on stopping ui or starting halt or starting reboot |
| respawn |
| |
| pre-start script |
| chmod a+w /sys/kernel/debug/tracing/trace_marker |
| end script |
| |