1. 26 11月, 2016 1 次提交
  2. 24 10月, 2016 3 次提交
  3. 29 9月, 2016 3 次提交
  4. 24 8月, 2016 1 次提交
  5. 13 7月, 2016 3 次提交
  6. 23 6月, 2016 3 次提交
  7. 24 5月, 2016 2 次提交
  8. 20 5月, 2016 4 次提交
  9. 12 5月, 2016 1 次提交
  10. 11 5月, 2016 1 次提交
  11. 07 5月, 2016 3 次提交
  12. 06 5月, 2016 4 次提交
    • A
      perf trace: Do not print raw args list for syscalls with no args · 4c4d6e51
      Arnaldo Carvalho de Melo 提交于
      The test to check if the arg format had been read from the
      syscall:sys_enter_name/format file was looking at the list of non-commom
      fields, and if that is empty, it would think it had failed to read it,
      because it doesn't exist, for instance, for the clone() syscall.
      
      So instead before dumping the raw syscall args list check
      IS_ERR(sc->tp_format), if that is true, then an attempt was made to read
      the format file and failed, in which case dump the raw arg list values.
      
      Cc: Adrian Hunter <adrian.hunter@intel.com>
      Cc: David Ahern <dsahern@gmail.com>
      Cc: Jiri Olsa <jolsa@kernel.org>
      Cc: Milian Wolff <milian.wolff@kdab.com>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Wang Nan <wangnan0@huawei.com>
      Link: http://lkml.kernel.org/n/tip-ls7pmdqb2xy9339vdburwvnk@git.kernel.orgSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      4c4d6e51
    • A
      perf trace: Do not show the runtime_ms for a thread when not collecting it · 03548ebf
      Arnaldo Carvalho de Melo 提交于
      That field is only updated when we use the "sched:sched_stat_runtime"
      tracepoint, and that is only done so far when we use the '--stat' command line
      option, without it we get just zeros, confusing the users:
      
      Without this patch:
      
        # trace -a -s sleep 1
        <SNIP>
         qemu-system-x86 (9931), 468 events, 9.6%, 0.000 msec
      
           syscall     calls    total       min       avg       max      stddev
                                (msec)    (msec)    (msec)    (msec)        (%)
           ---------- ------ --------- --------- --------- ---------     ------
           ppoll          98   982.374     0.000    10.024    29.983     12.65%
           write          34     0.401     0.005     0.012     0.027      5.49%
           ioctl         102     0.347     0.002     0.003     0.007      3.08%
      
         firefox (10871), 1856 events, 38.2%, 0.000 msec
      
                                (msec)    (msec)    (msec)    (msec)        (%)
           ---------- ------ --------- --------- --------- ---------     ------
           poll          395   934.873     0.000     2.367    17.120     11.51%
           recvmsg       395     0.988     0.001     0.003     0.021      4.20%
           read          106     0.460     0.002     0.004     0.007      3.17%
           futex          24     0.108     0.001     0.004     0.010     10.05%
           mmap            2     0.041     0.016     0.021     0.026     23.92%
           write           6     0.027     0.004     0.004     0.005      2.52%
      
      After this patch that ', 0.000 msecs' gets suppressed when --stat is not
      in use.
      
      Cc: Adrian Hunter <adrian.hunter@intel.com>
      Cc: David Ahern <dsahern@gmail.com>
      Cc: Jiri Olsa <jolsa@kernel.org>
      Cc: Milian Wolff <milian.wolff@kdab.com>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Wang Nan <wangnan0@huawei.com>
      Link: http://lkml.kernel.org/n/tip-p7emqrsw7900tdkg43v9l1e1@git.kernel.orgSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      03548ebf
    • A
      perf trace: Sort syscalls stats by msecs in --summary · b535d523
      Arnaldo Carvalho de Melo 提交于
        # trace -a -s sleep 1
        <SNIP>
         Xorg (1965), 788 events, 19.0%, 0.000 msec
      
           syscall            calls    total       min       avg       max      stddev
                                       (msec)    (msec)    (msec)    (msec)        (%)
           --------------- -------- --------- --------- --------- ---------     ------
           select                89   731.038     0.000     8.214   175.218     36.71%
           ioctl                 22     0.661     0.010     0.030     0.072     10.43%
           writev                42     0.253     0.002     0.006     0.011      5.94%
           recvmsg               60     0.185     0.001     0.003     0.009      5.90%
           setitimer             60     0.127     0.001     0.002     0.006      6.14%
           read                  52     0.102     0.001     0.002     0.005      8.55%
           rt_sigprocmask        45     0.092     0.001     0.002     0.023     23.65%
           poll                  12     0.021     0.001     0.002     0.003      7.21%
           epoll_wait            12     0.019     0.001     0.002     0.002      2.71%
      
         firefox (10871), 1080 events, 26.1%, 0.000 msec
      
           syscall            calls    total       min       avg       max      stddev
                                       (msec)    (msec)    (msec)    (msec)        (%)
           --------------- -------- --------- --------- --------- ---------     ------
           poll                 240   979.562     0.000     4.082    17.132     11.33%
           recvmsg              240     0.532     0.001     0.002     0.007      3.69%
           read                  60     0.303     0.003     0.005     0.029      8.50%
      Suggested-by: NMilian Wolff <milian.wolff@kdab.com>
      Cc: Adrian Hunter <adrian.hunter@intel.com>
      Cc: David Ahern <dsahern@gmail.com>
      Cc: Jiri Olsa <jolsa@kernel.org>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Wang Nan <wangnan0@huawei.com>
      Link: http://lkml.kernel.org/n/tip-52kdkuyxihq0kvc0n2aalhay@git.kernel.orgSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      b535d523
    • A
      perf trace: Sort summary output by number of events · 96c14451
      Arnaldo Carvalho de Melo 提交于
        # trace -a -s sleep 1 |& grep events | tail
         gmain (1733), 34 events, 1.0%, 0.000 msec
         hexchat (9765), 46 events, 1.4%, 0.000 msec
         ssh (11109), 80 events, 2.4%, 0.000 msec
         sleep (32631), 81 events, 2.4%, 0.000 msec
         qemu-system-x86 (10021), 272 events, 8.2%, 0.000 msec
         Xorg (1965), 322 events, 9.7%, 0.000 msec
         SoftwareVsyncTh (10922), 366 events, 11.1%, 0.000 msec
         gnome-shell (2231), 446 events, 13.5%, 0.000 msec
         qemu-system-x86 (9931), 468 events, 14.1%, 0.000 msec
         firefox (10871), 1098 events, 33.2%, 0.000 msec
        [root@jouet ~]#
      Suggested-by: NMilian Wolff <milian.wolff@kdab.com>
      Cc: Adrian Hunter <adrian.hunter@intel.com>
      Cc: David Ahern <dsahern@gmail.com>
      Cc: Jiri Olsa <jolsa@kernel.org>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Wang Nan <wangnan0@huawei.com>
      Link: http://lkml.kernel.org/n/tip-ye4cnprhfeiq32ar4lt60dqs@git.kernel.orgSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      96c14451
  13. 28 4月, 2016 1 次提交
  14. 27 4月, 2016 3 次提交
  15. 25 4月, 2016 4 次提交
  16. 18 4月, 2016 1 次提交
  17. 16 4月, 2016 2 次提交