info.c revision f6e214c7418f43af38bd8c3a557e3d0a1d311cfa
f6e214c7418f43af38bd8c3a557e3d0a1d311cfaGavin Maltby * CDDL HEADER START
f6e214c7418f43af38bd8c3a557e3d0a1d311cfaGavin Maltby * The contents of this file are subject to the terms of the
f6e214c7418f43af38bd8c3a557e3d0a1d311cfaGavin Maltby * Common Development and Distribution License (the "License").
f6e214c7418f43af38bd8c3a557e3d0a1d311cfaGavin Maltby * You may not use this file except in compliance with the License.
f6e214c7418f43af38bd8c3a557e3d0a1d311cfaGavin Maltby * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
f6e214c7418f43af38bd8c3a557e3d0a1d311cfaGavin Maltby * See the License for the specific language governing permissions
f6e214c7418f43af38bd8c3a557e3d0a1d311cfaGavin Maltby * and limitations under the License.
f6e214c7418f43af38bd8c3a557e3d0a1d311cfaGavin Maltby * When distributing Covered Code, include this CDDL HEADER in each
f6e214c7418f43af38bd8c3a557e3d0a1d311cfaGavin Maltby * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
f6e214c7418f43af38bd8c3a557e3d0a1d311cfaGavin Maltby * If applicable, add the following below this CDDL HEADER, with the
f6e214c7418f43af38bd8c3a557e3d0a1d311cfaGavin Maltby * fields enclosed by brackets "[]" replaced with your own identifying
f6e214c7418f43af38bd8c3a557e3d0a1d311cfaGavin Maltby * information: Portions Copyright [yyyy] [name of copyright owner]
f6e214c7418f43af38bd8c3a557e3d0a1d311cfaGavin Maltby * CDDL HEADER END
f6e214c7418f43af38bd8c3a557e3d0a1d311cfaGavin Maltby * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
f6e214c7418f43af38bd8c3a557e3d0a1d311cfaGavin Maltbyinfo_short(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp)
f6e214c7418f43af38bd8c3a557e3d0a1d311cfaGavin Maltby fmdump_date(buf, sizeof (buf), rp), rp->rec_class);
f6e214c7418f43af38bd8c3a557e3d0a1d311cfaGavin Maltbyinfo_verb1(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp)
f6e214c7418f43af38bd8c3a557e3d0a1d311cfaGavin Maltby (void) nvlist_lookup_string(rp->rec_nvl, FM_IREPORT_UUID, &uuid);
f6e214c7418f43af38bd8c3a557e3d0a1d311cfaGavin Maltby fmdump_date(buf, sizeof (buf), rp), uuid, rp->rec_class);
f6e214c7418f43af38bd8c3a557e3d0a1d311cfaGavin Maltbyinfo_verb23_cmn(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp,
f6e214c7418f43af38bd8c3a557e3d0a1d311cfaGavin Maltby (void) nvlist_lookup_string(rp->rec_nvl, FM_IREPORT_UUID, &uuid);
f6e214c7418f43af38bd8c3a557e3d0a1d311cfaGavin Maltby fmdump_year(buf, sizeof (buf), rp), rp->rec_nsec, uuid);
f6e214c7418f43af38bd8c3a557e3d0a1d311cfaGavin Maltbyinfo_verb2(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp)
f6e214c7418f43af38bd8c3a557e3d0a1d311cfaGavin Maltbyinfo_pretty(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp)
f6e214c7418f43af38bd8c3a557e3d0a1d311cfaGavin Maltby nvlist_prtctlop_nvlist(pctl, fmdump_render_nvlist, NULL);
f6e214c7418f43af38bd8c3a557e3d0a1d311cfaGavin Maltby"TIME CLASS",
f6e214c7418f43af38bd8c3a557e3d0a1d311cfaGavin Maltby"TIME UUID CLASS",