DragonFly commits List (threaded) for 2010-02
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: Bring in a simple event tracing library and POC utility
commit e7c0dbbaa9d5a2de52e8882628668615903e9132
Author: Aggelos Economopoulos <aoiko@cc.ece.ntua.gr>
Date: Mon Feb 8 19:43:33 2010 +0200
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.
Summary of changes:
lib/Makefile | 2 +-
lib/libevtr/Makefile | 9 +
lib/libevtr/evtr.c | 1674 +++++++++++++++++++++++++++++++++++++
lib/libevtr/evtr.h | 154 ++++
sys/kern/lwkt_thread.c | 5 +
usr.bin/Makefile | 1 +
usr.bin/evtranalyze/Makefile | 6 +
usr.bin/evtranalyze/evtranalyze.1 | 87 ++
usr.bin/evtranalyze/evtranalyze.c | 714 ++++++++++++++++
usr.bin/evtranalyze/svg.c | 337 ++++++++
usr.bin/evtranalyze/svg.h | 64 ++
usr.bin/evtranalyze/xml.c | 175 ++++
usr.bin/evtranalyze/xml.h | 104 +++
usr.bin/ktrdump/Makefile | 4 +-
usr.bin/ktrdump/ktrdump.8 | 7 +-
usr.bin/ktrdump/ktrdump.c | 329 ++++++--
16 files changed, 3606 insertions(+), 66 deletions(-)
create mode 100644 lib/libevtr/Makefile
create mode 100644 lib/libevtr/evtr.c
create mode 100644 lib/libevtr/evtr.h
create mode 100644 usr.bin/evtranalyze/Makefile
create mode 100644 usr.bin/evtranalyze/evtranalyze.1
create mode 100644 usr.bin/evtranalyze/evtranalyze.c
create mode 100644 usr.bin/evtranalyze/svg.c
create mode 100644 usr.bin/evtranalyze/svg.h
create mode 100644 usr.bin/evtranalyze/xml.c
create mode 100644 usr.bin/evtranalyze/xml.h
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e7c0dbbaa9d5a2de52e8882628668615903e9132
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]