提交 e0fd5c2f 编写于 作者: P Pekka Paalanen 提交者: Thomas Gleixner

mmiotrace: do not print bogus pid for maps either

Signed-off-by: NPekka Paalanen <pq@iki.fi>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 2039238b
...@@ -225,12 +225,12 @@ static int mmio_print_map(struct trace_iterator *iter) ...@@ -225,12 +225,12 @@ static int mmio_print_map(struct trace_iterator *iter)
ret = trace_seq_printf(s, ret = trace_seq_printf(s,
"MAP %lu.%06lu %d 0x%lx 0x%lx 0x%lx 0x%lx %d\n", "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, secs, usec_rem, m->map_id, m->phys, m->virt, m->len,
0UL, entry->pid); 0UL, 0);
break; break;
case MMIO_UNPROBE: case MMIO_UNPROBE:
ret = trace_seq_printf(s, ret = trace_seq_printf(s,
"UNMAP %lu.%06lu %d 0x%lx %d\n", "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; break;
default: default:
ret = trace_seq_printf(s, "map what?\n"); ret = trace_seq_printf(s, "map what?\n");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册