Deleted Added
full compact
dtrace.c (265234) dtrace.c (266102)
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

--- 4 unchanged lines hidden (view full) ---

13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
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 *
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

--- 4 unchanged lines hidden (view full) ---

13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
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 * $FreeBSD: stable/10/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c 265234 2014-05-02 20:12:31Z pfg $
21 * $FreeBSD: stable/10/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c 266102 2014-05-15 00:52:17Z markj $
22 */
23
24/*
25 * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
26 * Copyright (c) 2013, Joyent, Inc. All rights reserved.
27 * Copyright (c) 2012 by Delphix. All rights reserved.
28 */
29

--- 265 unchanged lines hidden (view full) ---

295#define PRIV_EFFECTIVE (1 << 0)
296#define PRIV_DTRACE_KERNEL (1 << 1)
297#define PRIV_DTRACE_PROC (1 << 2)
298#define PRIV_DTRACE_USER (1 << 3)
299#define PRIV_PROC_OWNER (1 << 4)
300#define PRIV_PROC_ZONE (1 << 5)
301#define PRIV_ALL ~0
302
22 */
23
24/*
25 * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
26 * Copyright (c) 2013, Joyent, Inc. All rights reserved.
27 * Copyright (c) 2012 by Delphix. All rights reserved.
28 */
29

--- 265 unchanged lines hidden (view full) ---

295#define PRIV_EFFECTIVE (1 << 0)
296#define PRIV_DTRACE_KERNEL (1 << 1)
297#define PRIV_DTRACE_PROC (1 << 2)
298#define PRIV_DTRACE_USER (1 << 3)
299#define PRIV_PROC_OWNER (1 << 4)
300#define PRIV_PROC_ZONE (1 << 5)
301#define PRIV_ALL ~0
302
303SYSCTL_NODE(_debug, OID_AUTO, dtrace, CTLFLAG_RD, 0, "DTrace Information");
303SYSCTL_DECL(_debug_dtrace);
304SYSCTL_DECL(_kern_dtrace);
304#endif
305
306#if defined(sun)
307#define curcpu CPU->cpu_id
308#endif
309
310
311/*

--- 16627 unchanged lines hidden ---
305#endif
306
307#if defined(sun)
308#define curcpu CPU->cpu_id
309#endif
310
311
312/*

--- 16627 unchanged lines hidden ---