1df4ca45cSTijl Coosemans /*- 2*4d846d26SWarner Losh * SPDX-License-Identifier: BSD-2-Clause 3df4ca45cSTijl Coosemans * 4df4ca45cSTijl Coosemans * Copyright (c) 1994-1995 Søren Schmidt 5df4ca45cSTijl Coosemans * All rights reserved. 6df4ca45cSTijl Coosemans * 7df4ca45cSTijl Coosemans * Redistribution and use in source and binary forms, with or without 8df4ca45cSTijl Coosemans * modification, are permitted provided that the following conditions 9df4ca45cSTijl Coosemans * are met: 10df4ca45cSTijl Coosemans * 1. Redistributions of source code must retain the above copyright 11df4ca45cSTijl Coosemans * notice, this list of conditions and the following disclaimer. 12df4ca45cSTijl Coosemans * 2. Redistributions in binary form must reproduce the above copyright 13df4ca45cSTijl Coosemans * notice, this list of conditions and the following disclaimer in the 14df4ca45cSTijl Coosemans * documentation and/or other materials provided with the distribution. 15df4ca45cSTijl Coosemans * 16df4ca45cSTijl Coosemans * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 17df4ca45cSTijl Coosemans * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18df4ca45cSTijl Coosemans * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 19df4ca45cSTijl Coosemans * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 20df4ca45cSTijl Coosemans * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 21df4ca45cSTijl Coosemans * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22df4ca45cSTijl Coosemans * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23df4ca45cSTijl Coosemans * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24df4ca45cSTijl Coosemans * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25df4ca45cSTijl Coosemans * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26df4ca45cSTijl Coosemans * SUCH DAMAGE. 27df4ca45cSTijl Coosemans */ 28df4ca45cSTijl Coosemans 29df4ca45cSTijl Coosemans #include <sys/param.h> 30df4ca45cSTijl Coosemans #include <sys/kernel.h> 31df4ca45cSTijl Coosemans #include <sys/proc.h> 322456a459SDmitry Chagin #include <sys/sdt.h> 33df4ca45cSTijl Coosemans 34df4ca45cSTijl Coosemans #include <amd64/linux32/linux.h> 35df4ca45cSTijl Coosemans #include <amd64/linux32/linux32_proto.h> 36df4ca45cSTijl Coosemans #include <compat/linux/linux_dtrace.h> 37df4ca45cSTijl Coosemans #include <compat/linux/linux_util.h> 38df4ca45cSTijl Coosemans 39df4ca45cSTijl Coosemans /* DTrace init */ 40df4ca45cSTijl Coosemans LIN_SDT_PROVIDER_DECLARE(LINUX_DTRACE); 41df4ca45cSTijl Coosemans 42df4ca45cSTijl Coosemans UNIMPLEMENTED(break); 43df4ca45cSTijl Coosemans UNIMPLEMENTED(ftime); 44391fd1e1SDmitry Chagin UNIMPLEMENTED(fstat); 45df4ca45cSTijl Coosemans UNIMPLEMENTED(gtty); 46df4ca45cSTijl Coosemans UNIMPLEMENTED(stty); 47df4ca45cSTijl Coosemans UNIMPLEMENTED(lock); 48df4ca45cSTijl Coosemans UNIMPLEMENTED(mpx); 49df4ca45cSTijl Coosemans UNIMPLEMENTED(prof); 50df4ca45cSTijl Coosemans UNIMPLEMENTED(profil); 51df4ca45cSTijl Coosemans UNIMPLEMENTED(ulimit); 52df4ca45cSTijl Coosemans 53df4ca45cSTijl Coosemans DUMMY(stime); 54df4ca45cSTijl Coosemans DUMMY(olduname); 55df4ca45cSTijl Coosemans DUMMY(uname); 56df4ca45cSTijl Coosemans DUMMY(bdflush); 57df4ca45cSTijl Coosemans DUMMY(ptrace); 58df4ca45cSTijl Coosemans /* Linux 4.11: */ 59df4ca45cSTijl Coosemans DUMMY(arch_prctl); 60df4ca45cSTijl Coosemans /* Linux 5.0: */ 61df4ca45cSTijl Coosemans DUMMY(clock_adjtime64); 62df4ca45cSTijl Coosemans DUMMY(io_pgetevents_time64); 63df4ca45cSTijl Coosemans DUMMY(mq_timedsend_time64); 64df4ca45cSTijl Coosemans DUMMY(mq_timedreceive_time64); 65