summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2012-05-31 14:46:02 +0000
committerjhb <jhb@FreeBSD.org>2012-05-31 14:46:02 +0000
commit2599ce43d6c7a0270289814f48ca08ccd9d2d736 (patch)
tree48d25ca52166b423232ea2fc92ee0de73596b779
parentb2cd8b6afd6b06a2715c711ec3cfcdabd359fa86 (diff)
downloadFreeBSD-src-2599ce43d6c7a0270289814f48ca08ccd9d2d736.zip
FreeBSD-src-2599ce43d6c7a0270289814f48ca08ccd9d2d736.tar.gz
Don't trace or dump page fault records in the default set of tracepoints
as they can be quite noisy. Requested by: Peter Jeremy MFC after: 3 days
-rw-r--r--usr.bin/ktrace/ktrace.14
-rw-r--r--usr.bin/ktrace/ktrace.h6
2 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/ktrace/ktrace.1 b/usr.bin/ktrace/ktrace.1
index 28a5f7a..1170ae8 100644
--- a/usr.bin/ktrace/ktrace.1
+++ b/usr.bin/ktrace/ktrace.1
@@ -28,7 +28,7 @@
.\" @(#)ktrace.1 8.1 (Berkeley) 6/6/93
.\" $FreeBSD$
.\"
-.Dd April 5, 2012
+.Dd May 31, 2012
.Dt KTRACE 1
.Os
.Sh NAME
@@ -131,7 +131,7 @@ trace
requests
.It Cm +
trace the default set of trace points -
-.Cm c , f , i , n , p , s , t , u , y
+.Cm c , i , n , p , s , t , u , y
.El
.It Ar command
Execute
diff --git a/usr.bin/ktrace/ktrace.h b/usr.bin/ktrace/ktrace.h
index 220eb83..26ac1143 100644
--- a/usr.bin/ktrace/ktrace.h
+++ b/usr.bin/ktrace/ktrace.h
@@ -32,12 +32,12 @@
#define DEF_POINTS (KTRFAC_SYSCALL | KTRFAC_SYSRET | KTRFAC_NAMEI | \
KTRFAC_GENIO | KTRFAC_PSIG | KTRFAC_USER | \
- KTRFAC_STRUCT | KTRFAC_SYSCTL | KTRFAC_CAPFAIL | \
- KTRFAC_FAULT | KTRFAC_FAULTEND)
+ KTRFAC_STRUCT | KTRFAC_SYSCTL | KTRFAC_CAPFAIL)
#define PROC_ABI_POINTS (KTRFAC_PROCCTOR | KTRFAC_PROCDTOR)
-#define ALL_POINTS (DEF_POINTS | KTRFAC_CSW | PROC_ABI_POINTS)
+#define ALL_POINTS (DEF_POINTS | KTRFAC_CSW | PROC_ABI_POINTS | \
+ KTRFAC_FAULT | KTRFAC_FAULTEND)
#define DEF_TRACEFILE "ktrace.out"
OpenPOWER on IntegriCloud