evtr: dump core frequencies and use them to print timestamps in usecs
authorAggelos Economopoulos <aoiko@cc.ece.ntua.gr>
Sat, 13 Feb 2010 12:35:15 +0000 (14:35 +0200)
committerAggelos Economopoulos <aoiko@cc.ece.ntua.gr>
Sat, 13 Feb 2010 13:11:42 +0000 (15:11 +0200)
commit956f9b36d2b035c3c934747f7399ec4b6d45b7eb
tree3e55a30f2262cc82714f4e9e2de029a6329910ab
parentbb4205038cec7c0d18e549ea839ea4447324859a
evtr: dump core frequencies and use them to print timestamps in usecs

This commit dumps the same frequency for each core; there's no
point supporting different frequencies unless we monitor frequency
change events. We use the frequency to print out relative timestamps
in microseconds. This relies on ktrdump having done correct sorting.
lib/libevtr/evtr.c
lib/libevtr/evtr.h
usr.bin/evtranalyze/evtranalyze.c
usr.bin/ktrdump/ktrdump.c