lkml.org 
[lkml]   [2018]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] perf stat: fix cvs output format
    > Here is the output from your own commit:
    >
    > 423470,,stalled-cycles-frontend,509102,100.00,65.69,frontend cycles idle
    > <not supported>,,stalled-cycles-backend,0,100.00,,,,
    >
    > so line 1 has 7 fields, line 2 has 9 fields, and this is expected?

    If you had metrics on line 1 it would be correct.

    So you just shifted it to break that case.

    If you always want to have the same number of fields
    you need to add two empty fields to the normal output
    when there are no metrics.

    -Andi


    \
     
     \ /
      Last update: 2018-03-06 18:54    [W:4.192 / U:0.604 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site