From: Anton Blanchard Date: Tue, 30 Jun 2009 23:00:44 +0000 (+1000) Subject: perf report: Fix -z option X-Git-Tag: v2.6.31-rc3~32^2~50 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=1f208ea67821703fd4de056ea6f0baa81f4ad4a5;p=linux-pvops.git perf report: Fix -z option Fix a copy and paste error, -z was setting the group option. Signed-off-by: Anton Blanchard Cc: a.p.zijlstra@chello.nl Cc: paulus@samba.org LKML-Reference: <20090630230140.714204656@samba.org> Signed-off-by: Ingo Molnar --- diff --git a/tools/perf/builtin-top.c b/tools/perf/builtin-top.c index cf0d21f1ae10..5c2965562c5d 100644 --- a/tools/perf/builtin-top.c +++ b/tools/perf/builtin-top.c @@ -675,7 +675,7 @@ static const struct option options[] = { "put the counters into a counter group"), OPT_STRING('s', "sym-filter", &sym_filter, "pattern", "only display symbols matchig this pattern"), - OPT_BOOLEAN('z', "zero", &group, + OPT_BOOLEAN('z', "zero", &zero, "zero history across updates"), OPT_INTEGER('F', "freq", &freq, "profile at this frequency"),