add enum workaround
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 10 Oct 2007 22:10:18 +0000 (22:10 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 10 Oct 2007 22:10:18 +0000 (22:10 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@2638 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/ltt/Makefile.am
ltt/branches/poly/lttv/lttv/state.c

index ba8efaed4852b8a83ed8aace3ee15ab48d92d6e2..df6f1bece4734a4b97db38e5bb6f5521237af423 100644 (file)
@@ -21,6 +21,7 @@ lttinclude_HEADERS = \
        ltt.h\
        time.h\
        trace.h\
+       marker-desc.h \
        ltt-types.h
 
 EXTRA_DIST = crc32.tab
index eda3bf02a590586e1552bdfe2f07c8c460d258e6..be3483c5d84ddfb49a08a4cca38ccc6430cd7915 100644 (file)
@@ -2866,23 +2866,19 @@ static gboolean enum_process_state(void *hook_data, void *call_data)
 
   /* type */
   f = lttv_trace_get_hook_field(th, 3);
-  type = ltt_enum_string_get(ltt_field_type(f),
-      ltt_event_get_unsigned(e, f));
+  type = ltt_enum_string_get(f, ltt_event_get_unsigned(e, f));
 
   /* mode */
   f = lttv_trace_get_hook_field(th, 4);
-  mode = ltt_enum_string_get(ltt_field_type(f), 
-      ltt_event_get_unsigned(e, f));
+  mode = ltt_enum_string_get(f,ltt_event_get_unsigned(e, f));
 
   /* submode */
   f = lttv_trace_get_hook_field(th, 5);
-  submode = ltt_enum_string_get(ltt_field_type(f), 
-      ltt_event_get_unsigned(e, f));
+  submode = ltt_enum_string_get(f, ltt_event_get_unsigned(e, f));
 
   /* status */
   f = lttv_trace_get_hook_field(th, 6);
-  status = ltt_enum_string_get(ltt_field_type(f), 
-      ltt_event_get_unsigned(e, f));
+  status = ltt_enum_string_get(f, ltt_event_get_unsigned(e, f));
 
   /* TGID */
   f = lttv_trace_get_hook_field(th, 7);
This page took 0.02887 seconds and 4 git commands to generate.