Deleted Added
full compact
linux_mib.c (235063) linux_mib.c (246085)
1/*-
2 * Copyright (c) 1999 Marcel Moolenaar
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 */
28
29#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1999 Marcel Moolenaar
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 */
28
29#include <sys/cdefs.h>
30__FBSDID("$FreeBSD: head/sys/compat/linux/linux_mib.c 235063 2012-05-05 19:42:38Z netchild $");
30__FBSDID("$FreeBSD: head/sys/compat/linux/linux_mib.c 246085 2013-01-29 18:41:30Z jhb $");
31
32#include "opt_compat.h"
33#include "opt_kdtrace.h"
34
35#include <sys/param.h>
36#include <sys/kernel.h>
37#include <sys/sdt.h>
38#include <sys/systm.h>

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

47
48#ifdef COMPAT_LINUX32
49#include <machine/../linux32/linux.h>
50#else
51#include <machine/../linux/linux.h>
52#endif
53#include <compat/linux/linux_dtrace.h>
54#include <compat/linux/linux_mib.h>
31
32#include "opt_compat.h"
33#include "opt_kdtrace.h"
34
35#include <sys/param.h>
36#include <sys/kernel.h>
37#include <sys/sdt.h>
38#include <sys/systm.h>

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

47
48#ifdef COMPAT_LINUX32
49#include <machine/../linux32/linux.h>
50#else
51#include <machine/../linux/linux.h>
52#endif
53#include <compat/linux/linux_dtrace.h>
54#include <compat/linux/linux_mib.h>
55#include <compat/linux/linux_misc.h>
55
56/* DTrace init */
57LIN_SDT_PROVIDER_DECLARE(LINUX_DTRACE);
58
59/**
60 * DTrace probes in this module.
61 */
62LIN_SDT_PROBE_DEFINE0(mib, linux_sysctl_osname, entry);

--- 795 unchanged lines hidden ---
56
57/* DTrace init */
58LIN_SDT_PROVIDER_DECLARE(LINUX_DTRACE);
59
60/**
61 * DTrace probes in this module.
62 */
63LIN_SDT_PROBE_DEFINE0(mib, linux_sysctl_osname, entry);

--- 795 unchanged lines hidden ---