Trivial fixes
authorBenjamin Poirier <benjamin.poirier@polymtl.ca>
Thu, 8 Oct 2009 22:12:22 +0000 (18:12 -0400)
committerPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Fri, 9 Oct 2009 21:13:53 +0000 (17:13 -0400)
Signed-off-by: Benjamin Poirier <benjamin.poirier@polymtl.ca>
lttv/lttv/Makefile.am
lttv/lttv/print.c
lttv/lttv/tracecontext.c

index e63f4d7f66e309af74dce57dae472396f9cb3eaf..4129f4b0c6f035dc894d74896decc04e7c96227d 100644 (file)
@@ -39,10 +39,20 @@ libdir = ${lttvplugindir}
 #noinst_HEADERS = \
 #      filter.h
 
-lttv_real_SOURCES = batchtest.c main.c module.c option.c \
-               hook.c attribute.c \
-               iattribute.c state.c stats.c \
-              tracecontext.c traceset.c filter.c print.c
+lttv_real_SOURCES = \
+       batchtest.c\
+       main.c\
+       module.c\
+       option.c\
+       hook.c\
+       attribute.c\
+       iattribute.c\
+       state.c\
+       stats.c\
+       tracecontext.c\
+       traceset.c\
+       filter.c\
+       print.c
 
 #man_MANS = lttv.1
 #EXTRA_DIST = lttv.1
index b303900a216b7328761bd7bc6e02d90e1c1c72e8..53873d22f19b70bf2577927cd0d26db93fe12dfc 100644 (file)
@@ -276,21 +276,20 @@ void lttv_event_to_string(LttEvent *e, GString *s,
   if(mandatory_fields) {
     time = ltt_event_time(e);
     g_string_append_printf(s,"%s.%s: %ld.%09ld (%s/%s_%u)",
-       g_quark_to_string(ltt_tracefile_name(tfs->parent.tf)),
-        g_quark_to_string(info->name),
-        (long)time.tv_sec, time.tv_nsec,
-       g_quark_to_string(
-               ltt_trace_name(ltt_tracefile_get_trace(tfs->parent.tf))),
-        g_quark_to_string(ltt_tracefile_name(tfs->parent.tf)),
-        cpu);
+      g_quark_to_string(ltt_tracefile_name(tfs->parent.tf)),
+      g_quark_to_string(info->name), (long)time.tv_sec, time.tv_nsec,
+      g_quark_to_string(
+        ltt_trace_name(ltt_tracefile_get_trace(tfs->parent.tf))),
+      g_quark_to_string(ltt_tracefile_name(tfs->parent.tf)), cpu);
     /* Print the process id and the state/interrupt type of the process */
     g_string_append_printf(s,", %u, %u, %s, %s, %u, 0x%" PRIx64", %s",
-                          process->pid,
-                          process->tgid,
-                          g_quark_to_string(process->name),
-                          g_quark_to_string(process->brand),
-                          process->ppid, process->current_function,
-                          g_quark_to_string(process->state->t));
+      process->pid,
+      process->tgid,
+      g_quark_to_string(process->name),
+      g_quark_to_string(process->brand),
+      process->ppid,
+      process->current_function,
+      g_quark_to_string(process->state->t));
   }
   
   if(marker_get_num_fields(info) == 0) return;
index edb465ba017466818db5bc8e5775312b12df62f0..710cdecb0ad6f062bff12f9e68733035223f6078 100644 (file)
@@ -101,7 +101,7 @@ lttv_context_new_tracefile_context(LttvTracesetContext *self)
 /****************************************************************************
  * lttv_traceset_context_compute_time_span
  *
- * Keep the time span is sync with on the fly addition and removal of traces
+ * Keep the time span in sync with on the fly addition and removal of traces
  * in a trace set. It must be called each time a trace is added/removed from
  * the traceset. It could be more efficient to call it only once a bunch
  * of traces are loaded, but the calculation is not long, so it's not
This page took 0.025842 seconds and 4 git commands to generate.