X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Flttv%2Fstate.h;h=f1e3f6d187ef0823dc2858b679b67ce93d45c630;hb=768d9ff70f4f49a042d606eeb0e767c23e537d04;hp=7a7f89c31c64a72072d98036457d793f681136ed;hpb=80e0221be5a9af55973073299ddbd93e43a08b39;p=lttv.git diff --git a/ltt/branches/poly/lttv/lttv/state.h b/ltt/branches/poly/lttv/lttv/state.h index 7a7f89c3..f1e3f6d1 100644 --- a/ltt/branches/poly/lttv/lttv/state.h +++ b/ltt/branches/poly/lttv/lttv/state.h @@ -98,6 +98,7 @@ extern GQuark LTT_FIELD_PARENT_PID, LTT_FIELD_CHILD_PID, LTT_FIELD_PID, + LTT_FIELD_TGID, LTT_FIELD_FILENAME, LTT_FIELD_NAME, LTT_FIELD_TYPE, @@ -206,6 +207,7 @@ typedef struct _LttvExecutionState { typedef struct _LttvProcessState { guint pid; + guint tgid; guint ppid; LttTime creation_time; LttTime insertion_time; @@ -239,7 +241,7 @@ lttv_state_find_process_or_create(LttvTraceState *ts, guint cpu, guint pid, LttvProcessState * lttv_state_create_process(LttvTraceState *tcs, LttvProcessState *parent, - guint cpu, guint pid, GQuark name, const LttTime *timestamp); + guint cpu, guint pid, guint tgid, GQuark name, const LttTime *timestamp); void lttv_state_write(LttvTraceState *self, LttTime t, FILE *fp);