projects
/
dragonfly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
9ec5f95
)
libevtr.h: cleanup evtr.h a bit
author
Aggelos Economopoulos <aoiko@cc.ece.ntua.gr>
Fri, 23 Apr 2010 12:24:17 +0000 (15:24 +0300)
committer
Aggelos Economopoulos <aoiko@cc.ece.ntua.gr>
Fri, 23 Apr 2010 12:24:17 +0000 (15:24 +0300)
Prodded-by: alexh@
lib/libevtr/evtr.h
patch
|
blob
|
blame
|
history
diff --git
a/lib/libevtr/evtr.h
b/lib/libevtr/evtr.h
index
9addfab
..
cd8dbb8
100644
(file)
--- a/
lib/libevtr/evtr.h
+++ b/
lib/libevtr/evtr.h
@@
-50,8
+50,6
@@
enum {
struct hashtab;
typedef struct evtr_variable_value {
- TAILQ_ENTRY(evtr_variable_value) link;
- int refs;
enum evtr_value_type {
EVTR_VAL_NIL,
EVTR_VAL_INT,
@@
-84,10
+82,9
@@
struct evtr_thread {
* the user of the library
*/
typedef struct evtr_event {
- uint8_t type;
- uint64_t ts;
+ uint8_t type; /* EVTR_TYPE_* */
+ uint64_t ts; /* timestamp. Must be nondecreasing */
union {
- /* timestamp. Must be nondecreasing */
uint16_t ncpus; /* EVTR_TYPE_SYSINFO */
struct evtr_cpuinfo { /* EVTR_TYPE_CPUINFO */
double freq;