Bring in a simple event tracing library and POC utility
authorAggelos Economopoulos <aoiko@cc.ece.ntua.gr>
Mon, 8 Feb 2010 17:43:33 +0000 (19:43 +0200)
committerAggelos Economopoulos <aoiko@cc.ece.ntua.gr>
Mon, 8 Feb 2010 17:43:33 +0000 (19:43 +0200)
commite7c0dbbaa9d5a2de52e8882628668615903e9132
treebbfaccdbd19299c105e5c921eda845cfcddd67ce
parentd3070b8da9816e7c3552da1c5740aac0aa74924b
Bring in a simple event tracing library and POC utility

- Import libevtr, a library for abstracting access to an event stream.
  libevtr uses its own dump format and can synthesize event attributes
  based on known event types.
- Modify ktrdump(8) to be able to dump an event stream to a file
  using libevtr.
- Add evtranalyze(1), a proof of concept utility to display events in
  a line-oriented text format or to generate an svg file displaying
  the events on each processor. This needs quite some work.
16 files changed:
lib/Makefile
lib/libevtr/Makefile [new file with mode: 0644]
lib/libevtr/evtr.c [new file with mode: 0644]
lib/libevtr/evtr.h [new file with mode: 0644]
sys/kern/lwkt_thread.c
usr.bin/Makefile
usr.bin/evtranalyze/Makefile [new file with mode: 0644]
usr.bin/evtranalyze/evtranalyze.1 [new file with mode: 0644]
usr.bin/evtranalyze/evtranalyze.c [new file with mode: 0644]
usr.bin/evtranalyze/svg.c [new file with mode: 0644]
usr.bin/evtranalyze/svg.h [new file with mode: 0644]
usr.bin/evtranalyze/xml.c [new file with mode: 0644]
usr.bin/evtranalyze/xml.h [new file with mode: 0644]
usr.bin/ktrdump/Makefile
usr.bin/ktrdump/ktrdump.8
usr.bin/ktrdump/ktrdump.c