summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2009-07-01 09:00:44 +1000
committerIngo Molnar <mingo@elte.hu>2009-07-01 01:25:18 +0200
commit1f208ea67821703fd4de056ea6f0baa81f4ad4a5 (patch)
tree4095281591798121f0744726b6c784bb5ebe7fff /tools
parent7bec7a9134c25cecb0d7029199b59f7b1bef35b8 (diff)
downloadop-kernel-dev-1f208ea67821703fd4de056ea6f0baa81f4ad4a5.zip
op-kernel-dev-1f208ea67821703fd4de056ea6f0baa81f4ad4a5.tar.gz
perf report: Fix -z option
Fix a copy and paste error, -z was setting the group option. Signed-off-by: Anton Blanchard <anton@samba.org> Cc: a.p.zijlstra@chello.nl Cc: paulus@samba.org LKML-Reference: <20090630230140.714204656@samba.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools')
-rw-r--r--tools/perf/builtin-top.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-top.c b/tools/perf/builtin-top.c
index cf0d21f..5c29655 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"),
OpenPOWER on IntegriCloud