projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
usertrace : make state.c ok for reused pids
[lttv.git]
/
ltt
/
branches
/
poly
/
lttv
/
lttv
/
hook.h
diff --git
a/ltt/branches/poly/lttv/lttv/hook.h
b/ltt/branches/poly/lttv/lttv/hook.h
index b62ddcfc8bded1e28796d471a19292dc5f9f9772..197184a6d4ce9333be659c31ecb5a5408b0e0add 100644
(file)
--- a/
ltt/branches/poly/lttv/lttv/hook.h
+++ b/
ltt/branches/poly/lttv/lttv/hook.h
@@
-128,6
+128,9
@@
typedef struct _LttvHooksById {
GArray *array;
} LttvHooksById;
GArray *array;
} LttvHooksById;
+/* macro to calculate the hook ID of a facility/event pair. */
+#define GET_HOOK_ID(fac_id, ev_id) \
+ ( (guint)fac_id | ((guint)ev_id << FACILITIES_BITS) )
/* Create and destroy a hooks by id list */
/* Create and destroy a hooks by id list */
This page took
0.022637 seconds
and
4
git commands to generate.