Bug 178385

Summary: ktrace(1): 'ktrace -t f' (page faults) generates gigabytes of unused data
Product: Base System Reporter: nowak
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me CC: jilles
Priority: Normal    
Version: 9.1-STABLE   
Hardware: Any   
OS: Any   

Description nowak 2013-05-07 06:10:00 UTC
Tracing page faults with ktrace seems to produce disproportionate amount of data in ktrace.out.

How-To-Repeat: $ echo "int main() { return 0; }" | clang -x c -o test -
$ ktrace -t f ./test
-- WARNING: this will take a few minutes and generate ~76GB ktrace.out file
$ kdump
-- outputs a few lines, most of ktrace.out ignored?
Comment 1 Jilles Tjoelker freebsd_committer freebsd_triage 2014-06-04 20:06:55 UTC
This problem was fixed by security advisory FreeBSD-SA-14:12.ktrace.