lkml.org 
[lkml]   [2016]   [Mar]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] perf, tools, stat: Print warning when no metric with --metric-only
> [jolsa@krava perf]$ sudo ./perf stat -a -I 1000 --metric-only 
> time insn per cycle branch-misses of all branches
> 1.000370422 0.30 6.77%
> 2.000749536 0.40 5.75%
> 3.001007542 0.28 5.38%
> 4.001324779 0.57 5.83%
> ^C 4.011558899 0.01 0.12%
>
> [jolsa@krava perf]$ sudo ./perf stat -a -I 1000 --metric-only -e cycles
> time No metrics defined by configured events
> 1.000211156
> 2.000432519

Looks good to me. Please submit it.

-Andi

\
 
 \ /
  Last update: 2016-03-12 00:41    [W:1.668 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site