dt_program.c (212092) | dt_program.c (248708) |
---|---|
1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 7 unchanged lines hidden (view full) --- 16 * fields enclosed by brackets "[]" replaced with your own identifying 17 * information: Portions Copyright [yyyy] [name of copyright owner] 18 * 19 * CDDL HEADER END 20 */ 21 22/* 23 * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. | 1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 7 unchanged lines hidden (view full) --- 16 * fields enclosed by brackets "[]" replaced with your own identifying 17 * information: Portions Copyright [yyyy] [name of copyright owner] 18 * 19 * CDDL HEADER END 20 */ 21 22/* 23 * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. |
24 * Copyright (c) 2011 by Delphix. All rights reserved. |
|
24 */ 25 26#include <unistd.h> 27#include <strings.h> 28#include <stdlib.h> 29#include <errno.h> 30#include <assert.h> 31#include <ctype.h> --- 315 unchanged lines hidden (view full) --- 347 dt_difo_free(dtp, ap->dtad_difo); 348 next = ap->dtad_next; 349 dt_free(dtp, ap); 350 } 351 } 352 353 if (sdp->dtsd_fmtdata != NULL) 354 dt_printf_destroy(sdp->dtsd_fmtdata); | 25 */ 26 27#include <unistd.h> 28#include <strings.h> 29#include <stdlib.h> 30#include <errno.h> 31#include <assert.h> 32#include <ctype.h> --- 315 unchanged lines hidden (view full) --- 348 dt_difo_free(dtp, ap->dtad_difo); 349 next = ap->dtad_next; 350 dt_free(dtp, ap); 351 } 352 } 353 354 if (sdp->dtsd_fmtdata != NULL) 355 dt_printf_destroy(sdp->dtsd_fmtdata); |
356 dt_free(dtp, sdp->dtsd_strdata); |
|
355 356 dt_ecbdesc_release(dtp, sdp->dtsd_ecbdesc); 357 dt_free(dtp, sdp); 358} 359 360typedef struct dt_header_info { 361 dtrace_hdl_t *dthi_dtp; /* consumer handle */ 362 FILE *dthi_out; /* output file */ --- 262 unchanged lines hidden --- | 357 358 dt_ecbdesc_release(dtp, sdp->dtsd_ecbdesc); 359 dt_free(dtp, sdp); 360} 361 362typedef struct dt_header_info { 363 dtrace_hdl_t *dthi_dtp; /* consumer handle */ 364 FILE *dthi_out; /* output file */ --- 262 unchanged lines hidden --- |