/*
* Written in DTrace (Solaris 10 3/05).
*
* $Id: woof.d 3 2007-08-01 10:50:08Z brendan $
*
* USAGE: woof.d &
*
* SEE ALSO: /usr/dt/bin/sdtaudiocontrol # to set volume
*
* COPYRIGHT: Copyright (c) 2006 Brendan Gregg.
*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* See the License for the specific language governing permissions
* and limitations under the License.
*
* CDDL HEADER END
*
* 14-Aug-2006 Brendan Gregg Created this.
* 14-Aug-2006 " " Last update.
*/
#pragma D option destructive
inline int SCREEN_OUTPUT = 0; /* Set to 1 for screen output */
int barks;
{
}
/*
* doesn't always work). One problem this creates is a feedback loop,
* where we bark at our own barks, or at other dogs barks; entertaining
* as this is, it can really slog the system and has been avoided by
* checking our ancestory.
*/
{
}
{
barks = 0;
}