ktrace.c (6567d14f5e4a907e76c7f6b8531760f03d6fced1) | ktrace.c (da647ae946a00482f69900a49b0f1c4d5912abf2) |
---|---|
1/*- 2 * Copyright (c) 1988, 1993 3 * The Regents of the University of California. 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 --- 180 unchanged lines hidden (view full) --- 189 } 190 return(atoi(p)); 191} 192 193static void 194usage(void) 195{ 196 (void)fprintf(stderr, "%s\n%s\n", | 1/*- 2 * Copyright (c) 1988, 1993 3 * The Regents of the University of California. 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 --- 180 unchanged lines hidden (view full) --- 189 } 190 return(atoi(p)); 191} 192 193static void 194usage(void) 195{ 196 (void)fprintf(stderr, "%s\n%s\n", |
197"usage: ktrace [-aCcdi] [-f trfile] [-g pgrp | -p pid] [-t cnistuw]", 198" ktrace [-adi] [-f trfile] [-t cnistuw] command"); | 197"usage: ktrace [-aCcdi] [-f trfile] [-g pgrp | -p pid] [-t trstr]", 198" ktrace [-adi] [-f trfile] [-t trstr] command"); |
199 exit(1); 200} 201 202static void 203no_ktrace(int sig __unused) 204{ 205 (void)fprintf(stderr, 206"error:\tktrace() system call not supported in the running kernel\n\tre-compile kernel with 'options KTRACE'\n"); 207 exit(1); 208} | 199 exit(1); 200} 201 202static void 203no_ktrace(int sig __unused) 204{ 205 (void)fprintf(stderr, 206"error:\tktrace() system call not supported in the running kernel\n\tre-compile kernel with 'options KTRACE'\n"); 207 exit(1); 208} |