003 File Manager
Current Path:
/usr/src/sys/cddl/dev/dtrace
usr
/
src
/
sys
/
cddl
/
dev
/
dtrace
/
📁
..
📁
aarch64
📁
amd64
📁
arm
📄
dtrace_anon.c
(2.35 KB)
📄
dtrace_cddl.h
(5.69 KB)
📄
dtrace_debug.c
(11.61 KB)
📄
dtrace_hacks.c
(155 B)
📄
dtrace_ioctl.c
(20.68 KB)
📄
dtrace_load.c
(5.14 KB)
📄
dtrace_modevent.c
(1.09 KB)
📄
dtrace_sysctl.c
(2.93 KB)
📄
dtrace_test.c
(3.05 KB)
📄
dtrace_unload.c
(2.98 KB)
📄
dtrace_vtime.c
(2.29 KB)
📁
i386
📁
mips
📁
powerpc
📁
riscv
📁
x86
Editing: dtrace_modevent.c
/* * CDDL HEADER START * * The contents of this file are subject to the terms of the * Common Development and Distribution License (the "License"). * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolaris.org/os/licensing. * See the License for the specific language governing permissions * and limitations under the License. * * When distributing Covered Code, include this CDDL HEADER in each * file and include the License file at usr/src/OPENSOLARIS.LICENSE. * If applicable, add the following below this CDDL HEADER, with the * fields enclosed by brackets "[]" replaced with your own identifying * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END * * $FreeBSD$ * */ /* ARGSUSED */ static int dtrace_modevent(module_t mod __unused, int type, void *data __unused) { int error = 0; switch (type) { case MOD_LOAD: break; case MOD_UNLOAD: break; case MOD_SHUTDOWN: break; default: error = EOPNOTSUPP; break; } return (error); }
Upload File
Create Folder