SVNews r327423

NOTE: This service is experimental and subject to change! Use at your own risk!

2017-12-31 09:21:01 - r327423 by cperciva (Colin Percival)

Complete list of files affected by revision r327423:

(Note: At the moment, these links point to ViewVC on svn.freebsd.org. They are probably slow. Do not overuse.)

  History   Contents     ADD   /head/sys/kern/kern_tslog.c  
  History   Contents     ADD   /head/sys/sys/tslog.h  

Commit message:

Code for recording timestamps of events, especially function entries/exits.
This is a very primitive system, intended for use in measuring performance
during the early system boot, before more sophisticated tools like DTrace
or infrastructure like kernel memory allocation and mutexes are available.

Because this code records pointers to strings rather than copying strings
(in order to keep the memory usage more manageable), if a kernel module is
unloaded after logging an event, Bad Things can happen. Users are advised
to not do that.

Since cycle counts from the early kernel boot are used as an initial entropy
source, publishing this information to userland could result in inadequate
entropy being kept private to the kernel RNG. Users are advised to not
enable this on systems with untrusted users.

Discussed on: freebsd-current

 


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 31 ms, 2 files printed. Current time is 2018-04-20 14:23:00. All times are in UTC/GMT.