evtr: initial implementation of a DSL
authorAggelos Economopoulos <aoiko@cc.ece.ntua.gr>
Wed, 17 Mar 2010 23:48:54 +0000 (01:48 +0200)
committerAggelos Economopoulos <aoiko@cc.ece.ntua.gr>
Fri, 23 Apr 2010 11:12:01 +0000 (14:12 +0300)
commit2b130cb3acacfa5110f513e631ada1fe6479c207
tree92bda121dbca3428cef55bc9a37b9bef47dca33a
parent209d9536c51602ba66440825640417c8cc6fd681
evtr: initial implementation of a DSL

libevtr:
- abstract out the hash table, convert to using uintptr_t's
  internally
- move a bunch of fields and most of the error logic from
  evtr to evtr_query
- don't try to resolve format strings to id's and reject
  records that don't match early; this needs way more care
  now that we might want to interpret the format strings
- start implementation of a minimal Domain Specific Language
- add the ability to filter based on the event type
- lots of fixes all around

evtranalyze:
- catch up w/ API changes in libevtr
- add toy 'stats' command
lib/libevtr/Makefile
lib/libevtr/evtr.c
lib/libevtr/evtr.h
lib/libevtr/internal.h [new file with mode: 0644]
lib/libevtr/ktrfmt.l [new file with mode: 0644]
lib/libevtr/ktrfmt.tab.c [new file with mode: 0644]
lib/libevtr/ktrfmt.tab.h [new file with mode: 0644]
lib/libevtr/ktrfmt.y [new file with mode: 0644]
lib/libevtr/ktrfmt.yy.c [new file with mode: 0644]
lib/libevtr/tok.h [new file with mode: 0644]
usr.bin/evtranalyze/evtranalyze.c