Bug 178385 - ktrace(1): 'ktrace -t f' (page faults) generates gigabytes of unused data
Summary: ktrace(1): 'ktrace -t f' (page faults) generates gigabytes of unused data
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 9.1-STABLE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-07 06:10 UTC by nowak
Modified: 2014-06-04 20:06 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.