2
* Purpose: OSS built in tracing reader
5
* This program is used to read timing/tracing information produced by the
6
* built in tracing facility of OSS.
8
* To use this program you need to rebuild OSS with the DO_TIMINGS macro
9
* defined. This macro is located in the os.h file for the target operating
10
* system. Output is written to stdout. Tracing information is currently
11
* produced only for the audio devices.
13
* To understand the output you need to be familiar with the internals of OSS.
17
* This file is part of Open Sound System.
19
* Copyright (C) 4Front Technologies 1996-2008.
21
* This this source file is released under GPL v2 license (no other versions).
22
* See the COPYING file included in the main directory of this source
23
* distribution for the license terms and conditions.
39
if ((fd = open ("/dev/mixer0", O_RDONLY, 0)) == -1)
41
perror ("/dev/mixer0");
47
if ((l = read (fd, buf, sizeof (buf))) < 0)