• Zhaolei's avatar
    trace_workqueue: remove blank line between each cpu · f3c4ae26
    Zhaolei authored
    The blankline between each cpu's workqueue stat is not necessary, because
    the cpu number is enough to part them by eye.
    Old style also caused a blankline below headline, and made code complex
    by using lock, disableirq and get cpu var.
    
    Old style:
     # CPU  INSERTED  EXECUTED   NAME
     # |      |         |          |
    
       0   8644       8644       events/0
       0      0          0       cpuset
       ...
       0      1          1       kdmflush
    
       1  35365      35365       events/1
       ...
    
    New style:
     # CPU  INSERTED  EXECUTED   NAME
     # |      |         |          |
    
       0   8644       8644       events/0
       0      0          0       cpuset
       ...
       0      1          1       kdmflush
       1  35365      35365       events/1
       ...
    
    [ Impact: provide more readable code ]
    Signed-off-by: default avatarZhao Lei <zhaolei@cn.fujitsu.com>
    Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
    Cc: Steven Rostedt <rostedt@goodmis.org>
    Cc: Tom Zanussi <tzanussi@gmail.com>
    Cc: Oleg Nesterov <oleg@redhat.com>
    Cc: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarFrederic Weisbecker <fweisbec@gmail.com>
    f3c4ae26
trace_workqueue.c 6.74 KB