kern_lockstat.c (10b3b54548f2290bbe8d8f88c59c28d12b7a635d) | kern_lockstat.c (54366c0bd7d0ea904fb9ab32460c66d57684a7cb) |
---|---|
1/*- 2 * Copyright 2008-2009 Stacey Son <sson@FreeBSD.org> 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 1. Redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer. --- 18 unchanged lines hidden (view full) --- 27 28/* 29 * Backend for the lock tracing (lockstat) kernel support. This is required 30 * to allow a module to load even though DTrace kernel support may not be 31 * present. 32 * 33 */ 34 | 1/*- 2 * Copyright 2008-2009 Stacey Son <sson@FreeBSD.org> 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 1. Redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer. --- 18 unchanged lines hidden (view full) --- 27 28/* 29 * Backend for the lock tracing (lockstat) kernel support. This is required 30 * to allow a module to load even though DTrace kernel support may not be 31 * present. 32 * 33 */ 34 |
35#include "opt_kdtrace.h" 36 | |
37#ifdef KDTRACE_HOOKS 38 39#include <sys/time.h> 40#include <sys/types.h> 41#include <sys/lockstat.h> 42 43/* 44 * The following must match the type definition of dtrace_probe. It is --- 20 unchanged lines hidden --- | 35#ifdef KDTRACE_HOOKS 36 37#include <sys/time.h> 38#include <sys/types.h> 39#include <sys/lockstat.h> 40 41/* 42 * The following must match the type definition of dtrace_probe. It is --- 20 unchanged lines hidden --- |