aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_mmiotrace.c
diff options
context:
space:
mode:
authorPekka Paalanen <pq@iki.fi>2008-05-12 15:21:02 -0400
committerThomas Gleixner <tglx@linutronix.de>2008-05-24 05:27:15 -0400
commite0fd5c2fa188311667267c02a702ae699a9fc2bd (patch)
tree4b96842aef6d1142bf720ba3a13bacca314129fb /kernel/trace/trace_mmiotrace.c
parent2039238b79b51a50f8477f53f33750e1c3fc146a (diff)
mmiotrace: do not print bogus pid for maps either
Signed-off-by: Pekka Paalanen <pq@iki.fi> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace/trace_mmiotrace.c')
-rw-r--r--kernel/trace/trace_mmiotrace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/trace/trace_mmiotrace.c b/kernel/trace/trace_mmiotrace.c
index d0f649a2203d..3c1dacdc2d85 100644
--- a/kernel/trace/trace_mmiotrace.c
+++ b/kernel/trace/trace_mmiotrace.c
@@ -225,12 +225,12 @@ static int mmio_print_map(struct trace_iterator *iter)
225 ret = trace_seq_printf(s, 225 ret = trace_seq_printf(s,
226 "MAP %lu.%06lu %d 0x%lx 0x%lx 0x%lx 0x%lx %d\n", 226 "MAP %lu.%06lu %d 0x%lx 0x%lx 0x%lx 0x%lx %d\n",
227 secs, usec_rem, m->map_id, m->phys, m->virt, m->len, 227 secs, usec_rem, m->map_id, m->phys, m->virt, m->len,
228 0UL, entry->pid); 228 0UL, 0);
229 break; 229 break;
230 case MMIO_UNPROBE: 230 case MMIO_UNPROBE:
231 ret = trace_seq_printf(s, 231 ret = trace_seq_printf(s,
232 "UNMAP %lu.%06lu %d 0x%lx %d\n", 232 "UNMAP %lu.%06lu %d 0x%lx %d\n",
233 secs, usec_rem, m->map_id, 0UL, entry->pid); 233 secs, usec_rem, m->map_id, 0UL, 0);
234 break; 234 break;
235 default: 235 default:
236 ret = trace_seq_printf(s, "map what?\n"); 236 ret = trace_seq_printf(s, "map what?\n");