/*
* This file and its contents are supplied under the terms of the
* Common Development and Distribution License ("CDDL"), version 1.0.
* You may only use this file in accordance with the terms of version
* 1.0 of the CDDL.
*
* A full copy of the text of the CDDL should have accompanied this
* source. A copy of the CDDL is also available via the Internet at
*/
/*
* Copyright (c) 2013, Joyent, Inc. All rights reserved.
*/
#include "ddi_periodic.h"
#include <mdb/mdb_modapi.h>
#include <sys/ddi_periodic.h>
#include <sys/sysmacros.h>
#include <stdio.h>
/*ARGSUSED*/
int
{
if (!(flags & DCMD_ADDRSPEC)) {
== -1) {
mdb_warn("cannot walk 'ddi_periodic'");
return (DCMD_ERR);
}
return (DCMD_OK);
}
return (DCMD_USAGE);
return (DCMD_ERR);
}
if (DCMD_HDRSPEC(flags)) {
"LVL", "FLAGS", "MS", "FIRE_COUNT", "HANDLER");
if (verbose) {
"CYCLIC_ID", "ARGUMENT");
}
}
if (verbose) {
}
return (DCMD_OK);
}