tracing: Remove lock_depth from event entry
[deliverable/linux.git] / kernel / trace / trace_output.c
index 02272baa22065c14c98e1c7394d2486a4d6a473e..151f32e5f2c6c4b681e6d0776cdd39b289081bd2 100644 (file)
@@ -529,7 +529,7 @@ seq_print_ip_sym(struct trace_seq *s, unsigned long ip, unsigned long sym_flags)
  * @entry: The trace entry field from the ring buffer
  *
  * Prints the generic fields of irqs off, in hard or softirq, preempt
- * count and lock depth.
+ * count.
  */
 int trace_print_lat_fmt(struct trace_seq *s, struct trace_entry *entry)
 {
@@ -554,13 +554,7 @@ int trace_print_lat_fmt(struct trace_seq *s, struct trace_entry *entry)
        else
                ret = trace_seq_putc(s, '.');
 
-       if (!ret)
-               return 0;
-
-       if (entry->lock_depth < 0)
-               return trace_seq_putc(s, '.');
-
-       return trace_seq_printf(s, "%d", entry->lock_depth);
+       return ret;
 }
 
 static int
This page took 0.033831 seconds and 5 git commands to generate.