mmiotrace: do not print bogus pid for maps either
authorPekka Paalanen <pq@iki.fi>
Mon, 12 May 2008 19:21:02 +0000 (21:21 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 24 May 2008 09:27:15 +0000 (11:27 +0200)
Signed-off-by: Pekka Paalanen <pq@iki.fi>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace_mmiotrace.c

index d0f649a..3c1dacd 100644 (file)
@@ -225,12 +225,12 @@ static int mmio_print_map(struct trace_iterator *iter)
                ret = trace_seq_printf(s,
                        "MAP %lu.%06lu %d 0x%lx 0x%lx 0x%lx 0x%lx %d\n",
                        secs, usec_rem, m->map_id, m->phys, m->virt, m->len,
-                       0UL, entry->pid);
+                       0UL, 0);
                break;
        case MMIO_UNPROBE:
                ret = trace_seq_printf(s,
                        "UNMAP %lu.%06lu %d 0x%lx %d\n",
-                       secs, usec_rem, m->map_id, 0UL, entry->pid);
+                       secs, usec_rem, m->map_id, 0UL, 0);
                break;
        default:
                ret = trace_seq_printf(s, "map what?\n");