diff options
Diffstat (limited to 'trace-plot-cpu.c')
| -rw-r--r-- | trace-plot-cpu.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/trace-plot-cpu.c b/trace-plot-cpu.c index e99fec8..50d720b 100644 --- a/trace-plot-cpu.c +++ b/trace-plot-cpu.c | |||
| @@ -98,16 +98,6 @@ static int filter_record(struct graph_info *ginfo, | |||
| 98 | /* Also show the task switching out */ | 98 | /* Also show the task switching out */ |
| 99 | if (filter) | 99 | if (filter) |
| 100 | filter = trace_graph_filter_on_task(ginfo, *sched_pid); | 100 | filter = trace_graph_filter_on_task(ginfo, *sched_pid); |
| 101 | |||
| 102 | if (ginfo->read_comms) { | ||
| 103 | /* | ||
| 104 | * First time through, register any missing | ||
| 105 | * comm / pid mappings. | ||
| 106 | */ | ||
| 107 | if (!pevent_pid_is_registered(ginfo->pevent, *sched_pid)) | ||
| 108 | pevent_register_comm(ginfo->pevent, | ||
| 109 | strdup(comm), *sched_pid); | ||
| 110 | } | ||
| 111 | } else | 101 | } else |
| 112 | *sched_pid = *orig_pid; | 102 | *sched_pid = *orig_pid; |
| 113 | 103 | ||
