replace TGID by PID to remain coherent with other views
authorJulien Desfossez <julien.desfossez@efficios.com>
Thu, 26 Apr 2012 19:50:09 +0000 (15:50 -0400)
committerJulien Desfossez <julien.desfossez@efficios.com>
Thu, 26 Apr 2012 19:50:09 +0000 (15:50 -0400)
Signed-off-by: Julien Desfossez <julien.desfossez@efficios.com>
src/cursesdisplay.c

index 6ff650ff83b518e72c0ee7b207dbc6664975788e..577643064685eb64066e49d4146eeadf7d664530 100644 (file)
@@ -585,9 +585,9 @@ void update_cputop_display()
                /* CPU(%) */
                mvwprintw(center, current_line + header_offset, 1, "%1.2f",
                                tmp->totalcpunsec / maxcputime);
-               /* TGID */
-               mvwprintw(center, current_line + header_offset, 11, "%d", tmp->pid);
                /* PID */
+               mvwprintw(center, current_line + header_offset, 11, "%d", tmp->pid);
+               /* TID */
                mvwprintw(center, current_line + header_offset, 21, "%d", tmp->tid);
                /* NAME */
                mvwprintw(center, current_line + header_offset, 31, "%s", tmp->comm);
@@ -1419,8 +1419,8 @@ void init_view_headers()
 {
        cputopview[0].title = strdup("CPU(%)");
        cputopview[0].sort = 1;
-       cputopview[1].title = strdup("TGID");
-       cputopview[2].title = strdup("PID");
+       cputopview[1].title = strdup("PID");
+       cputopview[2].title = strdup("TID");
        cputopview[3].title = strdup("NAME");
 
        iostreamtopview[0].title = strdup("R (B/sec)");
This page took 0.03189 seconds and 4 git commands to generate.