lkml.org 
[lkml]   [2012]   [Sep]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 07/12] perf diff: Add ratio computation way to compare hist entries
On Fri, Sep 07, 2012 at 02:45:28PM +0900, Namhyung Kim wrote:
> On Thu, 6 Sep 2012 17:47:01 +0200, Jiri Olsa wrote:
> > Adding -c option to select computation method with the current
> > 'Delta' computation as default. Current posible values are of
> > this option are: 'delta' and 'ratio'.
> >

SNIP

> > @@ -263,6 +296,8 @@ static const struct option options[] = {
> > "Show position displacement relative to baseline"),
> > OPT_BOOLEAN('b', "baseline-only", &show_baseline_only,
> > "Show only items with match in baseline"),
> > + OPT_STRING('c', "compute", &compute_str, "delta,ratio (default delta)",
> > + "Entries differential computation selection"),
>
> Why not make it OPT_CALLBACK?
>
right, thanks

jirka


\
 
 \ /
  Last update: 2012-09-07 12:02    [W:0.248 / U:0.380 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site