projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a shadow HT to query event classes by id
[babeltrace.git]
/
include
/
babeltrace
/
ctf-ir
/
stream-class-internal.h
diff --git
a/include/babeltrace/ctf-ir/stream-class-internal.h
b/include/babeltrace/ctf-ir/stream-class-internal.h
index 1bd1ea18c26bfb63c9711c38fa95aefaa5ea8208..db5b7c79dccdd5e314a016cd0972355d52dc975a 100644
(file)
--- a/
include/babeltrace/ctf-ir/stream-class-internal.h
+++ b/
include/babeltrace/ctf-ir/stream-class-internal.h
@@
-42,6
+42,8
@@
struct bt_ctf_stream_class {
GString *name;
struct bt_ctf_clock *clock;
GPtrArray *event_classes; /* Array of pointers to bt_ctf_event_class */
GString *name;
struct bt_ctf_clock *clock;
GPtrArray *event_classes; /* Array of pointers to bt_ctf_event_class */
+ /* event class id (int64_t) to event class */
+ GHashTable *event_classes_ht;
int id_set;
uint32_t id;
uint32_t next_event_id;
int id_set;
uint32_t id;
uint32_t next_event_id;
This page took
0.025019 seconds
and
4
git commands to generate.