main.c (289080) | main.c (294849) |
---|---|
1/*- 2 * Copyright 1997 Sean Eric Fagan 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. --- 16 unchanged lines hidden (view full) --- 25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29 * SUCH DAMAGE. 30 */ 31 32#include <sys/cdefs.h> | 1/*- 2 * Copyright 1997 Sean Eric Fagan 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. --- 16 unchanged lines hidden (view full) --- 25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29 * SUCH DAMAGE. 30 */ 31 32#include <sys/cdefs.h> |
33__FBSDID("$FreeBSD: head/usr.bin/truss/main.c 289080 2015-10-09 20:47:29Z bdrewery $"); | 33__FBSDID("$FreeBSD: head/usr.bin/truss/main.c 294849 2016-01-26 19:07:09Z jhb $"); |
34 35/* 36 * The main module for truss. Surprisingly simple, but, then, the other 37 * files handle the bulk of the work. And, of course, the kernel has to 38 * do a lot of the work :). 39 */ 40 41#include <sys/ptrace.h> 42 43#include <err.h> 44#include <signal.h> 45#include <stdio.h> 46#include <stdlib.h> | 34 35/* 36 * The main module for truss. Surprisingly simple, but, then, the other 37 * files handle the bulk of the work. And, of course, the kernel has to 38 * do a lot of the work :). 39 */ 40 41#include <sys/ptrace.h> 42 43#include <err.h> 44#include <signal.h> 45#include <stdio.h> 46#include <stdlib.h> |
47#include <sysdecode.h> |
|
47#include <time.h> 48#include <unistd.h> 49 50#include "truss.h" 51#include "extern.h" 52#include "syscall.h" 53 54static void --- 157 unchanged lines hidden --- | 48#include <time.h> 49#include <unistd.h> 50 51#include "truss.h" 52#include "extern.h" 53#include "syscall.h" 54 55static void --- 157 unchanged lines hidden --- |