Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Don't trace or dump page fault records in the default set of tracepoints | jhb | 2012-05-31 | 2 | -5/+5 |
| | | | | | | | as they can be quite noisy. Requested by: Peter Jeremy MFC after: 3 days | ||||
* | Add new ktrace records for the start and end of VM faults. This gives | jhb | 2012-04-05 | 3 | -3/+9 |
| | | | | | | | | | | a pair of records similar to syscall entry and return that a user can use to determine how long page faults take. The new ktrace records are enabled via the 'p' trace type, and are enabled in the default set of trace points. Reviewed by: kib MFC after: 2 weeks | ||||
* | Make ktrace(1) build cleanly at WARNS level 6 by completely rethinking the | des | 2011-10-18 | 2 | -40/+73 |
| | | | | | | way in which it handles the -C, -c, -g and -p options. MFC after: 3 weeks | ||||
* | Add a new trace point, KTRFAC_CAPFAIL, which traces capability check | des | 2011-10-11 | 3 | -5/+10 |
| | | | | failures. It is included in the default set for ktrace(1) and kdump(1). | ||||
* | Remove duplicated header files | kevlo | 2011-06-24 | 1 | -1/+0 |
| | |||||
* | Teach kdump to understand sv_flags records in the trace files. | dchagin | 2011-02-25 | 2 | -1/+5 |
| | | | | MFC after: 1 Month. | ||||
* | Remove the advertising clause from UCB copyrighted files in usr.bin. This | joel | 2010-12-11 | 4 | -16/+0 |
| | | | | | | | | | is in accordance with the information provided at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change Also add $FreeBSD$ to a few files to keep svn happy. Discussed with: imp, rwatson | ||||
* | - Sort list of trace points. | jhb | 2010-07-14 | 1 | -3/+3 |
| | | | | | | - Note that 'y' (sysctl requests) is in the default set of trace points. MFC after: 3 days | ||||
* | Build usr.bin/ with WARNS=6 by default. | ed | 2010-01-02 | 1 | -0/+2 |
| | | | | Also add some missing $FreeBSD$ to keep svn happy. | ||||
* | Revert most part of 200420 as requested, as more review and polish is | delphij | 2009-12-13 | 1 | -0/+2 |
| | | | | needed. | ||||
* | Remove unneeded header includes from usr.bin/ except contributed code. | delphij | 2009-12-11 | 1 | -2/+0 |
| | | | | Tested with: make universe | ||||
* | Add a new type of KTRACE record for sysctl(3) invocations. It uses the | jhb | 2009-03-11 | 3 | -1/+9 |
| | | | | | | | | internal sysctl_sysctl_name() handler to map the MIB array to a string name and logs this name in the trace log. This can be useful to see exactly which sysctls a thread is invoking. MFC after: 1 month | ||||
* | Spell -t option's argument by name. | ru | 2008-04-02 | 2 | -5/+5 |
| | |||||
* | Fix usage string. | des | 2008-03-20 | 1 | -2/+2 |
| | |||||
* | This patch adds a new ktrace(2) record type, KTR_STRUCT, whose payload | des | 2008-02-23 | 3 | -6/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | consists of the null-terminated name and the contents of any structure you wish to record. A new ktrstruct() function constructs and emits a KTR_STRUCT record. It is accompanied by convenience macros for struct stat and struct sockaddr. In kdump(1), KTR_STRUCT records are handled by a dispatcher function that runs stringent sanity checks on its contents before handing it over to individual decoding funtions for each type of structure. Currently supported structures are struct stat and struct sockaddr for the AF_INET, AF_INET6 and AF_UNIX families; support for AF_APPLETALK and AF_IPX is present but disabled, as I am unable to test it properly. Since 's' was already taken, the letter 't' is used by ktrace(1) to enable KTR_STRUCT trace points, and in kdump(1) to enable their decoding. Derived from patches by Andrew Li <andrew2.li@citi.com>. PR: kern/117836 MFC after: 3 weeks | ||||
* | Allow the -c -f file options to actually execute. | mpp | 2007-02-13 | 1 | -1/+1 |
| | |||||
* | Add needed hyphens, note the KTRACE kernel option, bump doc date. | trhodes | 2006-11-06 | 1 | -5/+9 |
| | | | | | PR: 85186 Submitted by: garys | ||||
* | When opening a trace file, open O_NONBLOCK so that ktrace doesn't stall | rwatson | 2006-03-14 | 1 | -1/+4 |
| | | | | | | | | | if the target is a fifo. After opening a trace file, check that it is a regular file, and if not, return an error. MFC after: 3 days Reported by: kris PR: 94278 | ||||
* | Sort sections. | ru | 2005-01-18 | 1 | -4/+4 |
| | |||||
* | Don't include sys/user.h merely for its side-effect of recursively | das | 2004-11-27 | 1 | -1/+1 |
| | | | | including other headers. | ||||
* | Do not start err(3) strings with uppercase nor dot terminate them. | charnier | 2003-02-05 | 2 | -9/+8 |
| | | | | Standard sccsid[] area according to style(9). | ||||
* | Consistently use FBSDID | obrien | 2002-06-30 | 2 | -1/+2 |
| | |||||
* | Warnings fix; ANSIfy, constify, mark unused function parameter(s). | markm | 2002-04-28 | 3 | -18/+13 |
| | |||||
* | Use `The .Nm utility' | charnier | 2002-04-20 | 1 | -1/+1 |
| | |||||
* | 1) Clean up vendor and ID strings. | dwmalone | 2002-04-01 | 3 | -12/+29 |
| | | | | | | | 2) include stdlib.h for atoi. 3) staticise and constify. 4) add some missing prototypes. 5) add some parens to keep gcc happy. | ||||
* | remove __P | imp | 2002-03-22 | 1 | -2/+2 |
| | |||||
* | Consistently refer to the trace file of ktrace as 'trfile'. | keramida | 2002-03-03 | 1 | -3/+3 |
| | | | | | PR: docs/35361 Submitted by: Stefan Farfeleder <e0026813@stud3.tuwien.ac.at> | ||||
* | Describe the '+' option in the -t trace string. | roam | 2002-02-11 | 1 | -0/+3 |
| | | | | | | | | PR: 34668 Submitted by: Stefan Farfeleder <e0026813@stud3.tuwien.ac.at> Reviewed by: dd Approved by: dd MFC after: 1 week | ||||
* | Compensate for "Compensate for header dethreading" by backing it out. | bde | 2001-10-10 | 1 | -1/+0 |
| | |||||
* | Remove whitespace at EOL. | dd | 2001-07-15 | 1 | -4/+4 |
| | |||||
* | mdoc(7) police: removed HISTORY info from the .Os call. | ru | 2001-07-10 | 1 | -1/+1 |
| | |||||
* | mdoc(7) police: add missing .Ar in SYNOPSIS. | ru | 2001-07-05 | 1 | -1/+1 |
| | |||||
* | Sync manpage and usage. Also fix bug that would always interpret a -c as a | mikeh | 2001-06-27 | 2 | -5/+4 |
| | | | | | | | process clear. PR: bin/15456 MFC after: 2 weeks | ||||
* | Compensate for header dethreading. | markm | 2001-05-01 | 1 | -0/+1 |
| | |||||
* | mdoc(7) police: use the new features of the Nm macro. | ru | 2000-11-20 | 1 | -2/+2 |
| | |||||
* | getopt and friends are declared in <unistd.h> | imp | 2000-09-04 | 1 | -2/+0 |
| | | | | getopt returns -1 not EOF. | ||||
* | Don't call err() with no format string. | kris | 2000-07-10 | 1 | -5/+5 |
| | |||||
* | $Id$ -> $FreeBSD$ | peter | 1999-08-28 | 4 | -4/+4 |
| | |||||
* | Delete truss manpage link. We have now a real truss command. | wosch | 1997-12-06 | 1 | -2/+2 |
| | |||||
* | Use .Nm ktrace instead of .Nm in SYNOPSIS section: otherwise, a newline is | charnier | 1997-11-24 | 1 | -3/+3 |
| | | | | missing. | ||||
* | Cosmetic in usage string. | charnier | 1997-07-17 | 1 | -3/+4 |
| | |||||
* | ``appears'' -> ``appeared'' (closes PR#3393, Submitted-by: Josh Gilliam) | jmg | 1997-04-27 | 1 | -6/+8 |
| | | | | | add missing Id's other minor clean ups | ||||
* | compare return value from getopt against -1 rather than EOF, per the final | imp | 1997-03-29 | 1 | -2/+2 |
| | | | | posix standard on the topic. | ||||
* | Fix a security problem where the ktrace.out file could have been written | joerg | 1997-03-15 | 2 | -5/+16 |
| | | | | | | | over a file owned by someone else. Pointed out by: wosch Reviewed by: sef, imp, proff@suburbia.net, bde | ||||
* | Revert $FreeBSD$ to $Id$ | peter | 1997-02-22 | 3 | -3/+3 |
| | |||||
* | Make the long-awaited change from $Id$ to $FreeBSD$ | jkh | 1997-01-14 | 3 | -3/+3 |
| | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. | ||||
* | Add manual page symlinks | wosch | 1996-12-08 | 1 | -1/+3 |
| | | | | | | trace.1 -> ktrace.1 and truss.1 -> ktrace.1 for SunOS emigrants. | ||||
* | The userland change to the utrace(2) call. | phk | 1996-09-19 | 4 | -4/+11 |
| | |||||
* | s/trace -C/ktrace -C/ | peter | 1996-08-10 | 1 | -1/+1 |
| | | | | Pointed out by: zgabor@code.hu (Zahemszky Gabor) PR#1486 | ||||
* | Do always create ktrace.out with mode 0600, to prevent it from | joerg | 1996-06-30 | 1 | -1/+4 |
| | | | | | accidentally compromising information confidential to the user running ktrace. |