profile.c (233409) | profile.c (242723) |
---|---|
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 --- 6 unchanged lines hidden (view full) --- 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 * Portions Copyright 2006-2008 John Birrell jb@freebsd.org 22 * | 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 --- 6 unchanged lines hidden (view full) --- 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 * Portions Copyright 2006-2008 John Birrell jb@freebsd.org 22 * |
23 * $FreeBSD: head/sys/cddl/dev/profile/profile.c 233409 2012-03-24 05:14:37Z gonzo $ | 23 * $FreeBSD: head/sys/cddl/dev/profile/profile.c 242723 2012-11-07 23:45:09Z jhibbits $ |
24 * 25 */ 26 27/* 28 * Copyright 2006 Sun Microsystems, Inc. All rights reserved. 29 * Use is subject to license terms. 30 */ 31 --- 82 unchanged lines hidden (view full) --- 114 115#ifdef __mips 116/* 117 * This value is bogus just to make module compilable on mips 118 */ 119#define PROF_ARTIFICIAL_FRAMES 3 120#endif 121 | 24 * 25 */ 26 27/* 28 * Copyright 2006 Sun Microsystems, Inc. All rights reserved. 29 * Use is subject to license terms. 30 */ 31 --- 82 unchanged lines hidden (view full) --- 114 115#ifdef __mips 116/* 117 * This value is bogus just to make module compilable on mips 118 */ 119#define PROF_ARTIFICIAL_FRAMES 3 120#endif 121 |
122#ifdef __powerpc__ 123/* 124 * This value is bogus just to make module compilable on powerpc 125 */ 126#define PROF_ARTIFICIAL_FRAMES 3 127#endif 128 |
|
122typedef struct profile_probe { 123 char prof_name[PROF_NAMELEN]; 124 dtrace_id_t prof_id; 125 int prof_kind; 126 hrtime_t prof_interval; 127 cyclic_id_t prof_cyclic; 128} profile_probe_t; 129 --- 409 unchanged lines hidden --- | 129typedef struct profile_probe { 130 char prof_name[PROF_NAMELEN]; 131 dtrace_id_t prof_id; 132 int prof_kind; 133 hrtime_t prof_interval; 134 cyclic_id_t prof_cyclic; 135} profile_probe_t; 136 --- 409 unchanged lines hidden --- |